diff options
| author | Igor Minar | 2012-06-11 23:49:24 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-06-12 00:10:18 -0700 | 
| commit | f16150d5f1b20b3d633b4402095ea89baa4be042 (patch) | |
| tree | 9d5c570348264884174ecca52b958da7a821fcf8 /docs/content/cookbook | |
| parent | fc0b2b5715655a05cbb4c8e79969c95d7e7ce8b7 (diff) | |
| download | angular.js-f16150d5f1b20b3d633b4402095ea89baa4be042.tar.bz2 | |
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
Diffstat (limited to 'docs/content/cookbook')
| -rw-r--r-- | docs/content/cookbook/deeplinking.ngdoc | 6 | ||||
| -rw-r--r-- | docs/content/cookbook/form.ngdoc | 6 | ||||
| -rw-r--r-- | docs/content/cookbook/helloworld.ngdoc | 4 | ||||
| -rw-r--r-- | docs/content/cookbook/index.ngdoc | 2 | ||||
| -rw-r--r-- | docs/content/cookbook/mvc.ngdoc | 2 | 
5 files changed, 10 insertions, 10 deletions
| diff --git a/docs/content/cookbook/deeplinking.ngdoc b/docs/content/cookbook/deeplinking.ngdoc index 1e9c0161..f5509621 100644 --- a/docs/content/cookbook/deeplinking.ngdoc +++ b/docs/content/cookbook/deeplinking.ngdoc @@ -141,11 +141,11 @@ In this example we have a simple app which consist of two screens:  # Things to notice  * Routes are defined in the `AppCntl` class. The initialization of the controller causes the -  initialization of the {@link api/angular.module.ng.$route $route} service with the proper URL +  initialization of the {@link api/ng.$route $route} service with the proper URL    routes. -* The  {@link api/angular.module.ng.$route $route} service then watches the URL and instantiates the +* The  {@link api/ng.$route $route} service then watches the URL and instantiates the    appropriate controller when the URL changes. -* The  {@link api/angular.module.ng.$compileProvider.directive.ngView ngView} widget loads the +* The  {@link api/ng.directive:ngView ngView} widget loads the    view when the URL changes. It also sets the view scope to the newly instantiated controller.  * Changing the URL is sufficient to change the controller and view. It makes no difference whether    the URL is changed programatically or by the user. diff --git a/docs/content/cookbook/form.ngdoc b/docs/content/cookbook/form.ngdoc index 829547f4..3b85b80b 100644 --- a/docs/content/cookbook/form.ngdoc +++ b/docs/content/cookbook/form.ngdoc @@ -102,11 +102,11 @@ allow a user to enter data.  # Things to notice -* The user data model is initialized {@link api/angular.module.ng.$compileProvider.directive.ngController controller} and is -  available in the {@link api/angular.module.ng.$rootScope.Scope scope} with the initial data. +* The user data model is initialized {@link api/ng.directive:ngController controller} and is +  available in the {@link api/ng.$rootScope.Scope scope} with the initial data.  * For debugging purposes we have included a debug view of the model to better understand what    is going on. -* The {@link api/angular.module.ng.$compileProvider.directive.input input directives} simply refer +* The {@link api/ng.directive:input input directives} simply refer    to the model and are data-bound.  * The inputs validate. (Try leaving them blank or entering non digits in the zip field)  * In your application you can simply read from or write to the model and the form will be updated. diff --git a/docs/content/cookbook/helloworld.ngdoc b/docs/content/cookbook/helloworld.ngdoc index 92c50cf2..786511e9 100644 --- a/docs/content/cookbook/helloworld.ngdoc +++ b/docs/content/cookbook/helloworld.ngdoc @@ -29,10 +29,10 @@  Take a look through the source and note:  * The script tag that {@link guide/bootstrap bootstraps} the angular environment. -* The text {@link api/angular.module.ng.$compileProvider.directive.input input widget} which is +* The text {@link api/ng.directive:input input form control} which is    bound to the greeting name text.  * No need for listener registration and event firing on change events. -* The implicit presence of the `name` variable which is in the root {@link api/angular.module.ng.$rootScope.Scope scope}. +* The implicit presence of the `name` variable which is in the root {@link api/ng.$rootScope.Scope scope}.  * The double curly brace `{{markup}}`, which binds the name variable to the greeting text.  * The concept of {@link guide/dev_guide.templates.databinding data binding}, which reflects any  changes to the diff --git a/docs/content/cookbook/index.ngdoc b/docs/content/cookbook/index.ngdoc index 43ac9bb2..45ba2123 100644 --- a/docs/content/cookbook/index.ngdoc +++ b/docs/content/cookbook/index.ngdoc @@ -44,7 +44,7 @@ allowing you to send links to specific screens in your app.  # Services -{@link api/angular.module.ng Services}: Services are long lived objects in your applications that are +{@link api/ng Services}: Services are long lived objects in your applications that are  available across controllers. A collection of useful services are pre-bundled with angular but you  will likely add your own. Services are initialized using dependency injection, which resolves the  order of initialization. This safeguards you from the perils of global state (a common way to diff --git a/docs/content/cookbook/mvc.ngdoc b/docs/content/cookbook/mvc.ngdoc index da8f48e2..c362174c 100644 --- a/docs/content/cookbook/mvc.ngdoc +++ b/docs/content/cookbook/mvc.ngdoc @@ -125,4 +125,4 @@ board variable.  * The view can call any controller function.  * In this example, the `setUrl()` and `readUrl()` functions copy the game state to/from the URL's  hash so the browser's back button will undo game steps. See deep-linking. This example calls {@link -api/angular.module.ng.$rootScope.Scope#$watch $watch()} to set up a listener that invokes `readUrl()` when needed. +api/ng.$rootScope.Scope#$watch $watch()} to set up a listener that invokes `readUrl()` when needed. | 
