title: How to include ui.router in AngularJS project?
body: <p>I keep getting this error:</p>
  
  <p>`Error: [$injector:nomod] Module 'ui.router' is not available! You either misspelled the module name or forgot to load it.</p>
  
  <p>But I am pretty sure I have everything configured correctly</p>
  
  <p>The project was created with Yeoman and uses Bower to manage dependencies, with Grunt to build everything.</p>
  
  <p>The yeoman angular generator created the boilerplate with the basic ngRouter, so I installed ui.router with</p>
  
  <pre><code>bower install angular-ui-router --save
  </code></pre>
  
  <p><strong>Angular Version</strong></p>
  
  <pre><code>1.2.16
  </code></pre>
  
  <p><strong>Bower file</strong></p>
  
  <p>The above line updated the bower.json file with this line in the dependencies list:</p>
  
  <pre><code>"angular-ui-router": "~0.2.10"
  </code></pre>
  
  <p><strong>app Module set up</strong></p>
  
  <p>I updated the <em>app.js</em> file with by adding the dependency on <em>ui.route</em> (in addition to various other dependencies)
      angular.module('app', ['ngRoute', ... 'ui.router'])</p>
  
  <p><strong>index.html</strong></p>
  
  <pre><code>&lt;!-- build:js(.) scripts/vendor.js --&gt;
  &lt;!-- bower:js --&gt;
  ...
  &lt;script src="bower_components/angular-ui-router/release/angular-ui-router.js"&gt;&lt;/script&gt;
  &lt;!-- endbower --&gt;
  &lt;!-- endbuild --&gt;
  </code></pre>
  
  <p>I have the above file in the above directory, I am positive it is there (I copied and pasted the path to avoid typos).  I also tried the minified version with no difference.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I am very, <em>very</em> new to all of this (angular, bower, yeoman, etc) So I may very well be doing this all wrong, so could it be that I no longer need to include the ui.router dependency? I mean, has it been integrated to the <em>core</em> angular framework somehow?  Is ui.router deprecated?</p>