title: Angularjs routeProvider templateURL not working
body: <p>I am trying to use ngRoute but I can't seem to get templateURL working. Everything works as expected except when I use templateURL.</p>
  
  <p>I have 4 different files:</p>
  
  <p>test.html</p>
  
  <pre><code>&lt;p&gt;{{test}}&lt;/p&gt;
  </code></pre>
  
  <p>test.js</p>
  
  <pre><code>angular.module("app")
  .controller("testController", ["$scope", function($scope) {
      $scope.test = 10;
  }])
  </code></pre>
  
  <p>app.js</p>
  
  <pre><code>angular.module("app", ["ngRoute"])
  .config(function ($routeProvider) {
      $routeProvider.otherwise({"redirectTo": "1"})
          .when("/1", {
              "controller": "testController",
              "template": "{{test}}"
          })
          .when("/2", {
              "controller": "testController",
              "templateURL": "test.html"
          });
  });
  </code></pre>
  
  <p>index.html</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;body ng-app="app"&gt;
          &lt;div ng-view=""&gt;&lt;/div&gt;
          &lt;script src="js/angular.js"&gt;&lt;/script&gt;
          &lt;script src="js/angular-route.js"&gt;&lt;/script&gt;
          &lt;script src="app.js"&gt;&lt;/script&gt;
          &lt;script src="test.js"&gt;&lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I go to <code>http://localhost:5000/#/1</code>, it shows 10 as expected. However, when I go to <code>http://localhost:5000/#/2</code>, it doesn't show anything.</p>