mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-11 10:59:24 +08:00
refactor(ngController): remove unused deps
This commit is contained in:
@@ -95,9 +95,9 @@
|
||||
</doc:scenario>
|
||||
</doc:example>
|
||||
*/
|
||||
var ngControllerDirective = ['$controller', '$window', function($controller, $window) {
|
||||
var ngControllerDirective = [function() {
|
||||
return {
|
||||
scope: true,
|
||||
controller: '@'
|
||||
}
|
||||
};
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user