title: AngularJS testing with Jasmine unable to call "angular.mock.module" while using angular-mocks.js
body: <p>I'm trying to get a basic unit test working and am running into an issue using angular-mocks.js. Hopefully this code will explain my situation.</p>
  
  <pre><code>describe("peconfigApp", function () {
  
      beforeEach(function() {
          angular.mock.module('peconfigApp');
      });
  
      describe("Binaries Controller", function () {
          it("should work", function () {
              expect(true).toBe(true);
          });
      });
  
  });
  </code></pre>
  
  <p>Jasmine result error: </p>
  
  <pre><code>TypeError: Object #&lt;Object&gt; has no method 'module'
     at null.&lt;anonymous&gt; (http://localhost:58141/Tests/js/controller-tests.js:4:22)
     at jasmine.Block.execute (http://localhost:58141/Tests/lib/jasmine.js:1064:17)
  </code></pre>
  
  <p>I've placed alerts in different parts of the code to verify that angular-mocks.js is loading before my tests load and run so I am pretty sure loading is not an issue.</p>
  
  <pre><code>&lt;script type="text/javascript" src="../lib/angular.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="../lib/angular-mocks.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="lib/jasmine.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="lib/jasmine-html.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="../js/controllers.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/controller-tests.js"&gt;&lt;/script&gt;
  </code></pre>