aboutsummaryrefslogtreecommitdiffstats
path: root/src/directive
diff options
context:
space:
mode:
authorVojta Jina2012-03-22 16:29:31 -0700
committerVojta Jina2012-03-22 16:29:31 -0700
commit541bedd1a9692208deae0cd2a93171e87fb7d1ba (patch)
treeba7a7a090dcffaa5ba479dbff0611369cae0aaea /src/directive
parent98e18a64aa6b4d7323b684f4d65ba2db30828762 (diff)
downloadangular.js-541bedd1a9692208deae0cd2a93171e87fb7d1ba.tar.bz2
refactor(ngController): remove unused deps
Diffstat (limited to 'src/directive')
-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: '@'
- }
+ };
}];