title: ui-sref not generating working href
body: <p>So I'm new to Angular and I've been struggling all day to get ngRoute to work without any success. So I decided to try out the ui-router but that's not working for me either.
  (angularjs 1.5.0)</p>
  
  <p>index.html</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="MyApp"&gt;
  &lt;head&gt;
      &lt;title&gt;My app&lt;/title&gt;
      &lt;script src="js/libs/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/libs/angular-ui-router.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/main.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div ui-view&gt;&lt;/div&gt;
      &lt;a ui-sref="state1"&gt;State hello&lt;/a&gt;
      &lt;a ui-sref="state2"&gt;State show&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>main.js</p>
  
  <pre><code>var myApp = angular.module('myApp', ['ui.router']);
  
  myApp.config(function($stateProvider, $urlRouterProvider)
  {
      $urlRouterProvider.otherwise("/state1");
  
    $stateProvider
      .state('state1', {
        url: "/state1",
        templateUrl: "partials/hello.html"
      })
      .state('state2', {
        url: "/state2",
        templateUrl: "partials/show.html"
      });
  });
  </code></pre>
  
  <p>hello.html &amp; show.html</p>
  
  <pre><code>&lt;div&gt;{{"hello"}}&lt;/div&gt;
  </code></pre>
  
  <p>When loading index.html I get this error:</p>
  
  <pre><code>angular.min.js:6 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.0/$injector/modulerr?p0=MyApp&amp;p1=Error%3A%2…
  </code></pre>