mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
refactor(ngController): remove unused deps
This commit is contained in:
parent
98e18a64aa
commit
541bedd1a9
1 changed files with 2 additions and 2 deletions
|
|
@ -95,9 +95,9 @@
|
|||
</doc:scenario>
|
||||
</doc:example>
|
||||
*/
|
||||
var ngControllerDirective = ['$controller', '$window', function($controller, $window) {
|
||||
var ngControllerDirective = [function() {
|
||||
return {
|
||||
scope: true,
|
||||
controller: '@'
|
||||
}
|
||||
};
|
||||
}];
|
||||
|
|
|
|||
Loading…
Reference in a new issue