From b09595a3c12ba761772084b94767b635c5bbfaf2 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 10 Nov 2011 18:47:47 -0800 Subject: fix(doc) cleanup all api doc link warnings --- docs/content/guide/dev_guide.services.registering_services.ngdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/content/guide/dev_guide.services.registering_services.ngdoc') diff --git a/docs/content/guide/dev_guide.services.registering_services.ngdoc b/docs/content/guide/dev_guide.services.registering_services.ngdoc index 1af1b1b9..f3f64459 100644 --- a/docs/content/guide/dev_guide.services.registering_services.ngdoc +++ b/docs/content/guide/dev_guide.services.registering_services.ngdoc @@ -3,11 +3,11 @@ @description To register a service, register a factory function that creates the service with angular's -Injector. The Injector is exposed as {@link api/angular.scope.$service scope.$service}. The +Injector. The Injector is exposed as {@link api/angular.module.NG.$rootScope.Scope#$service scope.$service}. The following pseudo-code shows a simple service registration:
-angular.service('service id', function() {
+angular.module.NG('service id', function() {
var shinyNewServiceInstance;
//factory function body that constructs shinyNewServiceInstance
return shinyNewServiceInstance;
@@ -30,7 +30,7 @@ which happens when the angular {@link dev_guide.bootstrap application initialize
To override the default, you can request that a service is eagerly instantiated as follows:
-angular.service('service id', function() {
+angular.module.NG('service id', function() {
var shinyNewServiceInstance;
//factory function body that constructs shinyNewServiceInstance
return shinyNewServiceInstance;
@@ -66,4 +66,4 @@ important.
## Related API
-* {@link api/angular.service Angular Service API}
+* {@link api/angular.module.NG Angular Service API}
--
cgit v1.2.3