title: Defining multiple optional parameters on a route in angularjs
body: <p>I have a route</p>
  
  <pre><code>.when('/calculator/c_:clientId/t_:type/:assetId',.....)
  </code></pre>
  
  <p>I want make <code>/t_:type/:assetId</code> optional</p>
  
  <p>My desired urls could be</p>
  
  <pre><code>/calculator/c_100    
  /calculator/c_100/t_value1
  /calculator/c_100/t_value2/10
  </code></pre>
  
  <p>Is there any way to do this. Using ? can make only one optional and also not the constant part like c_, t_</p>