title: ReferenceError: module is not defined in jasmine
body: <p>When i am running SpecRunner.html, I am getting the following error</p>
  
  <blockquote>
    <p>ReferenceError: module is not defined</p>
  </blockquote>
  
  <p>My Controller is </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>angular.module('mymodule', [])
    .controller('mycontroller', ['$scope',
      function($scope) {
        $scope.employees = [{
          name: 'Dick',
          address: 'Mumbai'
        }, {
          name: 'Tom',
          address: 'US'
        }];
        $scope.addEmployee = function() {
          $scope.employees.push({
            name: $scope.name,
            address: $scope.address
          });
        }
  
      }
    ])</code></pre>
  </div>
  </div>
  </p>
  
  <p>and my spec is </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>describe('Employee', function() {
    var mycontroller, scope;
    beforeEach(module('mymodule'));
  
    beforeEach(inject(function($controller, $scope) {
      scope = $rootScope;
      mycontroller = $controller('mycontroller', {
        $scope: scope
  
      });
    }));
    it("when employee gets added", function() {
      var employeecount = $scope.employees.count;
      $scope.addEmployee('xxxx', 'yyy');
      var employeecount1 = $scope.employees.count;
      expect(employeecount + 1).toBe(employeecount1);
    });
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>My SpecRunner.html is</p>
  
  <pre><code>    &lt;link rel="shortcut icon" type="image/png" href="lib/jasmine-2.2.0/jasmine_favicon.png"&gt;
    &lt;link rel="stylesheet" href="lib/jasmine-2.2.0/jasmine.css"&gt;
  
    &lt;script src="lib/jasmine-2.2.0/jasmine.js"&gt;&lt;/script&gt;
    &lt;script src="lib/jasmine-2.2.0/jasmine-html.js"&gt;&lt;/script&gt;
    &lt;script src="lib/jasmine-2.2.0/boot.js"&gt;&lt;/script&gt;
  
  
      &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="../Controller.js"&gt;&lt;/script&gt;
      &lt;script src="spec/myspec.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>PS: Its my first Unit test in jasmine.</p>