Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs(injector): correct typo in example
Browse files Browse the repository at this point in the history
$provide misused into $provider

maybe this should be corrected I think

Closes #6146
  • Loading branch information
sunderls authored and caitp committed Feb 6, 2014
1 parent e609239 commit 95d119e
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 @@ -589,7 +589,7 @@ function annotate(fn) {
* Here we decorate the {@link ng.$log $log} service to convert warnings to errors by intercepting
* calls to {@link ng.$log#error $log.warn()}.
* <pre>
* $provider.decorator('$log', ['$delegate', function($delegate) {
* $provide.decorator('$log', ['$delegate', function($delegate) {
* $delegate.warn = $delegate.error;
* return $delegate;
* }]);
Expand Down

0 comments on commit 95d119e

Please sign in to comment.