aboutsummaryrefslogtreecommitdiffstats
path: root/src/directives.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/directives.js')
-rw-r--r--src/directives.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/directives.js b/src/directives.js
index 4e2b92d4..ca9fe4fc 100644
--- a/src/directives.js
+++ b/src/directives.js
@@ -174,6 +174,7 @@ angularDirective("ng:controller", function(expression){
getter(scope, expression, true) ||
getter(window, expression, true);
assertArgFn(Controller, expression);
+ inferInjectionArgs(Controller);
return Controller;
});
return noop;