title: angular unit tests failing at evaluating '$browser.$$checkUrlChange()
body: <p>My angular js unit tests appear to fail whenever i try to use </p>
  
  <pre><code>scope.$digest();
  </code></pre>
  
  <p>Or </p>
  
  <pre><code>$httpBackend.flush();
  </code></pre>
  
  <p>The tests fail and flag the following error - </p>
  
  <blockquote>
    <p>TypeError: 'undefined' is not a function (evaluating '$browser.$$checkUrlChange()')</p>
  </blockquote>
  
  <p>The two dont appear to be related in anyway, one propagates the asynchronous execution of backend api calls and the other re-evaluates the scope model. </p>
  
  <p>I have tried executing my tests using both phantomjs and chrome browsers. </p>