'use strict'; (function() { describe('HomeController', function() { //Initialize global variables var scope; // Load the main application module beforeEach(module(ApplicationConfiguration.applicationModuleName)); beforeEach(inject(function($controller, $rootScope) { scope = $rootScope.$new(); $controller('HomeController', { $scope: scope }); })); }); })();