Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 541bedd

Browse files
committed
refactor(ngController): remove unused deps
1 parent 98e18a6 commit 541bedd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/directive/ngController.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@
9595
</doc:scenario>
9696
</doc:example>
9797
*/
98-
var ngControllerDirective = ['$controller', '$window', function($controller, $window) {
98+
var ngControllerDirective = [function() {
9999
return {
100100
scope: true,
101101
controller: '@'
102-
}
102+
};
103103
}];

0 commit comments

Comments
 (0)