title: Angular $location.path() and URL parameters
body: <p>I'm struggling with Angular $location service... I am trying to redirect a user to this URL : <strong>"/test/0/0"</strong>, and my route.js is configured with :</p>
  
  <pre><code>$routeProvider
  .when ('/test/:param1/:param2',{
      // Behavior here
  })
  </code></pre>
  
  <p>When I simply do </p>
  
  <pre><code>$location.path('/test/0/0');
  </code></pre>
  
  <p>Angular seems not understand this path and can't associate it with the one I configured in the routes.</p>
  
  <p>I have read about the $location service : I have tried $location.search(), .url(), but none of them works.</p>
  
  <p>Any ideas would be welcome!</p>