mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +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:scenario>
|
||||||
</doc:example>
|
</doc:example>
|
||||||
*/
|
*/
|
||||||
var ngControllerDirective = ['$controller', '$window', function($controller, $window) {
|
var ngControllerDirective = [function() {
|
||||||
return {
|
return {
|
||||||
scope: true,
|
scope: true,
|
||||||
controller: '@'
|
controller: '@'
|
||||||
}
|
};
|
||||||
}];
|
}];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue