From f16150d5f1b20b3d633b4402095ea89baa4be042 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 11 Jun 2012 23:49:24 -0700 Subject: docs(*): simplify doc urls we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions --- docs/content/guide/dev_guide.services.managing_dependencies.ngdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/content/guide/dev_guide.services.managing_dependencies.ngdoc') diff --git a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc index 01c26146..54d7a5d1 100644 --- a/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc +++ b/docs/content/guide/dev_guide.services.managing_dependencies.ngdoc @@ -88,10 +88,10 @@ provided by Angular's web framework: Things to notice in this example: -* 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 +* The `batchLog` service depends on the built-in {@link api/ng.$defer $defer} and +{@link api/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.module.ng.$route +* The `routeTemplateMonitor` service depends on the built-in {@link api/ng.$route $route} service as well as our custom `batchLog` service. * Both of our services use the factory function signature and array notation for inject annotations to declare their dependencies. It is important that the order of the string identifiers in the array @@ -110,5 +110,5 @@ that the injector uses to determine which services and in which order to inject. ## Related API -* {@link api/angular.module.ng Angular Service API} +* {@link api/ng Angular Service API} * {@link api/angular.injector Angular Injector API} -- cgit v1.2.3