title: Angular httpBackend crashing browser
body: <p>When using Jasmine and Angular (1.4.7) with Restangular (1.4.0), httpBackend and angular-mocks (1.4.7), Chrome and PhantomJS both crash when encountering the following line:</p>
  
  <pre><code>httpBackend.whenGET('/something').respond(200);
  </code></pre>
  
  <p>If I get rid of it entirely, as below, I get the following error:</p>
  
  <pre><code>//httpBackend.whenGET('/something').respond(200);
  scope.doSomething();  // will invoke a GET to /keepAlive
  httpBackend.expectGET("/something").respond(200);
  httpBackend.flush();
  </code></pre>
  
  <p><strong>Error: Unexpected request: GET /something
  No more request expected</strong></p>
  
  <p>The code that it is testing is:</p>
  
  <pre><code>$scope.doSomething = function () {
      Restangular.one('something').get();
  };
  </code></pre>
  
  <p>I've tried everything I can think of.  I'm down to the idea that this is just a bug in Karma/Jasmine/Restangular but I don't know how to work around it.</p>
  
  <p>One thing worth noting is that httpBackend and Restangular disagree about the URL.  Restangular adds the <code>/</code> to <code>/something</code>.  httpBackend doesn't.  This is why they don't match.</p>
  
  <p>Things I've tried that didn't work:</p>
  
  <ul>
  <li>Calling /something from Restangular.  <strong>Says unexpected GET //something
  (two slashes)</strong></li>
  <li>Using /something/another instead of a single root level
  directory.  <strong>No difference.</strong></li>
  <li>using $http instead of Restangular.  <strong>No difference.</strong></li>
  </ul>