I've included 3 files in my karma config : 1. angular.js, angular-mock.js, and login.spec.js 

this is my login.spec.js:

```
describe("Hello World example", function() {

  beforeEach(module("app"));

  var loginCtrl,
  scope;

  beforeEach(inject(function ($rootScope, $controller) {
    scope = $rootScope.$new();
    loginCtrl = $controller('loginCtrl', {
      $scope: scope
    });
  }));

  it('says hello world!', function () {
    expect(scope.hello).toEqual("Hello");
  });

  });

```

so my login.js (controller) look like this

```
angular.module('app')
  .controller('loginCtrl', function($scope, $rootScope, $location) {
    $scope.hello = 'hello';
  });

```

but I got `Module 'app' is not available!`