title: TypeError: module is not a function AngularJS & Jasmine
body: <p>In my sample app have I test runner like this</p>
  
  <pre><code>  &lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;!--angular--&gt;
      &lt;script src="../../../Scripts/angular.min.js"&gt;&lt;/script&gt;
      &lt;!--jasmine--&gt;
      &lt;img src="../../../Content/jasmine/jasmine_favicon.png" /&gt;
      &lt;link href="../../../Content/jasmine/jasmine.css" rel="stylesheet" /&gt;
      &lt;script src="../../../Scripts/jasmine/jasmine.js"&gt;&lt;/script&gt;
      &lt;script src="../../../Scripts/jasmine/jasmine-html.js"&gt;&lt;/script&gt;
      &lt;script src="../../../Scripts/jasmine/boot.js"&gt;&lt;/script&gt;
      &lt;!--angular mocks--&gt;
      &lt;script src="../../../Scripts/angular-mocks.js"&gt;&lt;/script&gt;
      &lt;!--app tests--&gt;
      &lt;script src="../../FavoritesController.js"&gt;&lt;/script&gt;
      &lt;script src="FavoritesController.Tests.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>FavoritesController:</p>
  
  <pre><code>  var module = angular.module('AngularSampleApp', []);
  var FavoritesController = module.controller('FavoritesController', function favoritesController($scope) {
      $scope.phones = [
          {
              'name': 'Nexus S',
              'snippet': 'Fast just got faster with Nexus S.'
          },
          {
              'name': 'Motorola XOOM™ with Wi-Fi',
              'snippet': 'The Next, Next Generation tablet.'
          },
          {
              'name': 'MOTOROLA XOOM™',
              'snippet': 'The Next, Next Generation tablet.'
          }
      ];
  
  });
  </code></pre>
  
  <p>FavoritesController.Tests.js</p>
  
  <pre><code>describe('FavoritesController', function () {
      beforeEach(module('AngularSampleApp'));
      it('should create "phones" model with 3 phones', inject(function ($controller) {
          var scope = {},
              ctrl = $controller('FavoritesController', { $scope: scope });
  
          expect(scope.phones.length).toBe(3);
      }));
  });
  </code></pre>
  
  <p>But I am getting: </p>
  
  <blockquote>
    <p>TypeError: module is not a function</p>
  </blockquote>
  
  <p>error after I run my tests. Am I missing something?</p>