title: $location in HTML5 mode requires a <base>
body: <p>I've added a <a href="https://github.com/Tealium/integration-angularjs" rel="nofollow">Tealium AngularJS</a> lib from Github as a bower component to my SPA.  This instantly broke my unit tests.  I don't understand why as it should still be using the main <code>index.html</code> file which has a base href set already?</p>
  
  <p>When I run <code>gulp test</code> form the command line, I get this error:</p>
  
  <pre><code>    PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 11 of 118 SUCCESS (0 secs / 0.721 secs)
  
      PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 12 of 118 SUCCESS (0 secs / 0.73 
      secs)
  
      PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 13 of 118 SUCCESS (0 secs / 0.741 secs)
  
      PhantomJS 1.9.8 (Windows 7 0.0.0) ERROR
  
        Error: [$location:noc:/dev/code/new-site-ui] $location in HTML5 mode requires a &lt;c:/dev/code/new-site-ui&gt; tag to be present!
  
    http://errors.angularjs.org/1.4.8/$location/noc:/dev/code/new-site-ui
    at c:/dev/code/new-site-ui/bower_components/angular/angular.js:12197
  
  PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 13 of 118 ERROR (0 secs / 0.741 secs)
  
  PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 13 of 118 ERROR (0.004 secs / 0.741 secs)
  
  [13:03:12] 'test' errored after 3.67 s
  [13:03:12] Error: Failed 1 tests.
  
      at c:\dev\code\new-site-ui\gulp\unit-tests.js:41:58
      at removeAllListeners (c:\dev\code\new-site-ui\node_modules\karma\lib\server.js:336:7)
      at Server.&lt;anonymous&gt; (c:\dev\code\new-site-ui\node_modules\karma\lib\server.js:347:9)
      at Server.g (events.js:199:16)
      at Server.emit (events.js:129:20)
      at net.js:1421:10
      at process._tickCallback (node.js:355:11)
  
  Process finished with exit code 1
  </code></pre>
  
  <p>I have been fighting with this for 2 days..  Anyone have a suggestion?</p>