diff options
| author | Joshua Flanagan | 2014-01-18 10:13:44 -0600 |
|---|---|---|
| committer | Caitlin Potter | 2014-01-18 15:26:18 -0500 |
| commit | 1028cfaa305550d3ea414cf68515e7b4bb05af93 (patch) | |
| tree | a2daa83002587b98a89158fb8056f9c449b9e1a9 | |
| parent | 756c52d6c165d89ee5a2ab1aa65582ccfce8964e (diff) | |
| download | angular.js-1028cfaa305550d3ea414cf68515e7b4bb05af93.tar.bz2 | |
docs(services): use $log service in example consistently with $log API
The $log provider returns an object and not a function, so this example, which appears to be using
the $log provider, should call it as it would be called in a real-world application.
Closes #5875
| -rw-r--r-- | docs/content/guide/dev_guide.services.managing_dependencies.ngdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc index 09850e57..6dafc3f7 100644 --- a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc +++ b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc @@ -55,7 +55,7 @@ of which depend on other services that are provided by the Angular framework: function log() { if (messageQueue.length) { - $log('batchLog messages: ', messageQueue); + $log.log('batchLog messages: ', messageQueue); messageQueue = []; } } |
