Skip to content

Commit 95d119e

Browse files
sunderlscaitp
sunderls
authored andcommitted
docs(injector): correct typo in example
$provide misused into $provider maybe this should be corrected I think Closes angular#6146
1 parent e609239 commit 95d119e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auto/injector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ function annotate(fn) {
589589
* Here we decorate the {@link ng.$log $log} service to convert warnings to errors by intercepting
590590
* calls to {@link ng.$log#error $log.warn()}.
591591
* <pre>
592-
* $provider.decorator('$log', ['$delegate', function($delegate) {
592+
* $provide.decorator('$log', ['$delegate', function($delegate) {
593593
* $delegate.warn = $delegate.error;
594594
* return $delegate;
595595
* }]);

0 commit comments

Comments
 (0)