diff options
Diffstat (limited to 'docs/content/cookbook')
| -rw-r--r-- | docs/content/cookbook/deeplinking.ngdoc | 2 | ||||
| -rw-r--r-- | docs/content/cookbook/form.ngdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/cookbook/deeplinking.ngdoc b/docs/content/cookbook/deeplinking.ngdoc index db5f057e..10af8a2d 100644 --- a/docs/content/cookbook/deeplinking.ngdoc +++ b/docs/content/cookbook/deeplinking.ngdoc @@ -106,7 +106,7 @@ The two partials are defined in the following URLs: routes. * The {@link api/angular.module.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.ng-view ng-view} widget loads the +* The {@link api/angular.module.ng.$compileProvider.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 b335cecf..e7f87d7c 100644 --- a/docs/content/cookbook/form.ngdoc +++ b/docs/content/cookbook/form.ngdoc @@ -102,7 +102,7 @@ allow a user to enter data. # Things to notice -* The user data model is initialized {@link api/angular.module.ng.$compileProvider.directive.ng-controller controller} and is +* 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. * For debugging purposes we have included a debug view of the model to better understand what is going on. |
