title: Angularjs Error: [$location:nobase]
body: <p>y try to create a simple web with angular
  Project asp.net mvc 5
  i have this js</p>
  
  <pre><code>var app = angular.module("app", ["ngRoute"])
      .config(function ($routeProvider, $locationProvider) {
          $routeProvider.when('/', {
              templateUrl: '/AngularJS/Templates/inicio.html',
              controller: 'bienvenidoController'
          });
          $locationProvider.html5Mode(true);
      });
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>app.controller("bienvenidoController", function ($scope) {
  
  });
  </code></pre>
  
  <p>view:
  Layout:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;title&gt;@ViewBag.Title - My ASP.NET Application&lt;/title&gt;
  &lt;/head&gt;
  &lt;body ng-app="app"&gt;
      @RenderBody()
      &lt;!--Librerias Angular--&gt;
      &lt;script src="~/Scripts/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="~/Scripts/angular-route.min.js"&gt;&lt;/script&gt;
  
      &lt;!---Librerias App--&gt;
      &lt;script src="~/AngularJS/RegistrationModule.js"&gt;&lt;/script&gt;
      &lt;script src="~/AngularJS/bienvenidoController.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>index:</p>
  
  <pre><code>&lt;div ng-view&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>&lt;h1&gt;Hola Mundo!&lt;/h1&gt;
  </code></pre>
  
  <p>error:</p>
  
  <blockquote>
    <p>Error: [$location:nobase]</p>
  </blockquote>
  
  <p>error see in firebug mozilla</p>