Skip to content

Commit

Permalink
fix($injector): remove bogus fn arg
Browse files Browse the repository at this point in the history
getService fn takes only one argument, removing the second one.

Closes angular#1711
  • Loading branch information
IgorMinar committed Jan 8, 2013
1 parent afd6771 commit de6cc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto/injector.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ function createInjector(modulesToLoad) {
args.push(
locals && locals.hasOwnProperty(key)
? locals[key]
: getService(key, path)
: getService(key)
);
}
if (!fn.$inject) {
Expand Down

0 comments on commit de6cc28

Please sign in to comment.