var ModalSettingsCtrl, scope;
// Initialize the controller and a mock scope
- beforeEach(inject(function ($controller, $rootScope, $injector) {
+ beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
ModalSettingsCtrl = $controller('ModalSettingsCtrl', {
$scope: scope