aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/directive/ngController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directive/ngController.js b/src/directive/ngController.js
index e5b8bffd..8e2c6f3b 100644
--- a/src/directive/ngController.js
+++ b/src/directive/ngController.js
@@ -95,9 +95,9 @@
</doc:scenario>
</doc:example>
*/
-var ngControllerDirective = ['$controller', '$window', function($controller, $window) {
+var ngControllerDirective = [function() {
return {
scope: true,
controller: '@'
- }
+ };
}];