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/tutorial/step_02.ngdoc | |
| 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/tutorial/step_02.ngdoc')
| -rw-r--r-- | docs/content/tutorial/step_02.ngdoc | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/docs/content/tutorial/step_02.ngdoc b/docs/content/tutorial/step_02.ngdoc index 03c7a852..766a3869 100644 --- a/docs/content/tutorial/step_02.ngdoc +++ b/docs/content/tutorial/step_02.ngdoc @@ -52,7 +52,7 @@ __`app/index.html`:__  </pre>  We replaced the hard-coded phone list with the -{@link api/angular.module.ng.$compileProvider.directive.ngRepeat ngRepeat directive} and two +{@link api/ng.directive:ngRepeat ngRepeat directive} and two  {@link guide/expression Angular expressions} enclosed in curly braces:  `{{phone.name}}` and `{{phone.snippet}}`: @@ -96,7 +96,7 @@ as follows:  * `PhoneListCtrl` — the name of our controller function (located in the JavaScript file  `controllers.js`), matches the value of the -{@link api/angular.module.ng.$compileProvider.directive.ngController ngController} directive located +{@link api/ng.directive:ngController ngController} directive located  on the `<body>` tag.  * The phone data is then attached to the *scope* (`$scope`) that was injected into our controller @@ -110,7 +110,7 @@ contained in the template, data model, and controller, to keep models and views  sync. Any changes made to the model are reflected in the view; any changes that occur in the view  are reflected in the model. -  To learn more about Angular scopes, see the {@link api/angular.module.ng.$rootScope.Scope angular scope documentation}. +  To learn more about Angular scopes, see the {@link api/ng.$rootScope.Scope angular scope documentation}.  ## Tests | 
