title: Angular ng-view/routing not working in PhoneGap
body: <p>I'm having a problem with ngView in PhoneGap.</p>
  
  <p>Everything seems to be loading just fine and I can even get a basic controller working using ng-controller. But when I try to use routing with ngView, nothing happens.</p>
  
  <p>index.html</p>
  
  
  
  <pre class="lang-or-tag prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html ng-app&gt;
  &lt;head&gt;
      &lt;script type="text/javascript" src="lib/cordova-2.4.0.js"&gt;&lt;/script&gt; 
      &lt;script type="text/javascript" src="lib/angular-1.0.4.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/app.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;a href="#/test"&gt;Test&lt;/a&gt;
  
  &lt;div ng-view&gt;&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>app.js</p>
  
  <pre class="lang-or-tag prettyprint-override"><code>angular.module('App', []).config(function ($routeProvider) {
  
      $routeProvider.when('/test', {
          controller: TestCtrl,
          template: '&lt;h1&gt; {{ test }} &lt;/h1&gt;'        
      });
  
  });
  
  function TestCtrl($scope) {
      $scope.test = "Works!";
  }
  </code></pre>
  
  <p>The Eclipse logger shows <code>onMessage(onPageFinished, fle:///android_asset/www/index.html#/test)</code> every time I click the link, and trying it without the <code>#</code> just raises an error that the path can't be found.</p>
  
  <p>From what I've ready everywhere else, this should be working. Any help would be greatly appreciated.</p>