docs(injector): correct typo in example

$provide misused into $provider

maybe this should be corrected I think

Closes #6146
This commit is contained in:
sunderls
2014-02-06 16:00:32 +09:00
committed by Caitlin Potter
parent e609239fab
commit 95d119ebb2

View File

@@ -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;
* }]);