diff options
| author | Misko Hevery | 2011-11-10 18:47:47 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:18 -0800 |
| commit | b09595a3c12ba761772084b94767b635c5bbfaf2 (patch) | |
| tree | a86f45599ee86964ea2bd09e5c336280ef98a769 /docs/content/guide/dev_guide.services.managing_dependencies.ngdoc | |
| parent | f6d98f1472338a77b2f146087bcb8560f472e5d1 (diff) | |
| download | angular.js-b09595a3c12ba761772084b94767b635c5bbfaf2.tar.bz2 | |
fix(doc) cleanup all api doc link warnings
Diffstat (limited to 'docs/content/guide/dev_guide.services.managing_dependencies.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.services.managing_dependencies.ngdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc index 9513df4c..a172f97c 100644 --- a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc +++ b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc @@ -19,7 +19,7 @@ provided by angular's web framework: * * @param {*} message Message to be logged. */ -angular.service('batchLog', function($defer, $log) { +angular.module.NG('batchLog', function($defer, $log) { var messageQueue = []; function log() { @@ -43,7 +43,7 @@ angular.service('batchLog', function($defer, $log) { * routeTemplateMonitor monitors each $route change and logs the current * template via the batchLog service. */ -angular.service('routeTemplateMonitor', function($route, batchLog) { +angular.module.NG('routeTemplateMonitor', function($route, batchLog) { this.$on('$afterRouteChange', function() { batchLog($route.current ? $route.current.template : null); }); @@ -52,10 +52,10 @@ angular.service('routeTemplateMonitor', function($route, batchLog) { Things to notice in this example: -* The `batchLog` service depends on the built-in {@link api/angular.service.$defer $defer} and -{@link api/angular.service.$log $log} services, and allows messages to be logged into the +* The `batchLog` service depends on the built-in {@link api/angular.module.NG.$defer $defer} and +{@link api/angular.module.NG.$log $log} services, and allows messages to be logged into the `console.log` in batches. -* The `routeTemplateMonitor` service depends on the built-in {@link api/angular.service.$route +* The `routeTemplateMonitor` service depends on the built-in {@link api/angular.module.NG.$route $route} service as well as our custom `batchLog` service. * The `routeTemplateMonitor` service is declared to be eager, so that it is started as soon as the application starts. @@ -80,5 +80,5 @@ order to inject. ## Related API -* {@link api/angular.service Angular Service API} +* {@link api/angular.module.NG Angular Service API} * {@link api/angular.injector Angular Injector API} |
