title: URL parameters in $httpBackend (angularJS)
body: <p>Is it possible to receive an URL parameter in $httpBackend in angularJS? I would like to do something like:</p>
  
  <pre><code>$httpBackend.whenGET('/api/v1/users/{userId}').respond(function (method, url, data) {
      // somehow read {userId} and act differently depending on what the value is
  
      return [200];
  });
  </code></pre>
  
  <p>Having this functionality would really make it easy to create a rather functional mock API (easier to develop the front-end application without having to run the whole backend).</p>