diff --git a/src/directive/ngController.js b/src/directive/ngController.js index e5b8bffd6349..8e2c6f3b6a83 100644 --- a/src/directive/ngController.js +++ b/src/directive/ngController.js @@ -95,9 +95,9 @@ */ -var ngControllerDirective = ['$controller', '$window', function($controller, $window) { +var ngControllerDirective = [function() { return { scope: true, controller: '@' - } + }; }];