title: AngularJS Error: Module ngAnimate is not available
body: <p>I'am new to angular and running into a problem. I used the yeoman angular generator and added the ngAnimate module. When I run <code>grunt test</code> I get the following error:</p>
  
  <pre><code>Error: [$injector:modulerr] Failed to instantiate module portfolioApp due to:
  Error: [$injector:modulerr] Failed to instantiate module ngAnimate due to:
  Error: [$injector:nomod] Module 'ngAnimate' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
  </code></pre>
  
  <p><strong>app.js</strong></p>
  
  <pre><code>'use strict';
  
  angular.module('portfolioApp', [
     'ngAnimate',
     'ngCookies',
     'ngResource',
     'ngSanitize',
     'ngRoute'
  ])
  </code></pre>
  
  <p><strong>index.html</strong></p>
  
  <pre><code>&lt;script src="bower_components/jquery/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="bower_components/angular/angular.js"&gt;&lt;/script&gt;
  
      &lt;!-- build:js scripts/modules.js --&gt;
      &lt;script src="bower_components/angular-animate/angular-animate.js"&gt;&lt;/script&gt;
      &lt;script src="bower_components/angular-resource/angular-resource.js"&gt;&lt;/script&gt;
      &lt;script src="bower_components/angular-cookies/angular-cookies.js"&gt;&lt;/script&gt;
      &lt;script src="bower_components/angular-sanitize/angular-sanitize.js"&gt;&lt;/script&gt;
      &lt;script src="bower_components/angular-route/angular-route.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><strong>bower.json</strong></p>
  
  <pre><code>{
    "name": "portfolio",
    "version": "0.0.0",
    "dependencies": {
      "angular": "1.2.0",
      "json3": "~3.2.4",
      "es5-shim": "~2.1.0",
      "jquery": "~1.10.2",
      "greensock": "~1.11.2",
      "angular-animate": "1.2.0",
      "angular-resource": "1.2.0",
      "angular-cookies": "1.2.0",
      "angular-sanitize": "1.2.0",
      "angular-route": "1.2.0"
    },
    "devDependencies": {
      "angular-mocks": "1.2.0",
      "angular-scenario": "1.2.0"
    }
  }
  </code></pre>
  
  <p>I think the module should be loaded and i can't figure out what i'am doing wrong. Does anyone have suggestions?</p>
  
  <p>Thanks</p>