mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
fix($injector): remove bogus fn arg
getService fn takes only one argument, removing the second one. Closes #1711
This commit is contained in:
parent
5b5f35d5e4
commit
b6b7c5a1d6
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ function createInjector(modulesToLoad) {
|
|||
args.push(
|
||||
locals && locals.hasOwnProperty(key)
|
||||
? locals[key]
|
||||
: getService(key, path)
|
||||
: getService(key)
|
||||
);
|
||||
}
|
||||
if (!fn.$inject) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue