title: mock $httpBackend regex not matched
body: <p>I'm trying to match an url with a regex. But the follwing regex doesn't match.</p>
  
  <pre><code>$httpBackend.whenGET('/^rest\/find-reservations\?.*/)').respond(function () {
          return [200, ['succes'], {}];
      });
  </code></pre>
  
  <p>I keep getting the follwing error:</p>
  
  <pre><code>Error: Unexpected request: GET rest/find-reservations?end=1421424299193&amp;reservationClass=Reservation&amp;start=1358352299193
  No more request expected
  </code></pre>
  
  <p>When I change the regex to an absolute string '/find-reservations' the whenGET is triggered. Why is this?</p>
  
  <p>edit:
  I'm mocking a backend. <a href="http://plnkr.co/edit/VF4KbZO3FvngWQsiUcte?p=preview" rel="noreferrer">http://plnkr.co/edit/VF4KbZO3FvngWQsiUcte?p=preview</a>
  The following plnkr works fine for static urls and partials. But it does not in the above case.</p>