diff options
Diffstat (limited to 'docs/content/cookbook/deeplinking.ngdoc')
| -rw-r--r-- | docs/content/cookbook/deeplinking.ngdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/cookbook/deeplinking.ngdoc b/docs/content/cookbook/deeplinking.ngdoc index 4db8d1c7..db5f057e 100644 --- a/docs/content/cookbook/deeplinking.ngdoc +++ b/docs/content/cookbook/deeplinking.ngdoc @@ -33,8 +33,8 @@ In this example we have a simple app which consist of two screens: The two partials are defined in the following URLs: -* <a href="./examples/settings.html" ng:ext-link>./examples/settings.html</a> -* <a href="./examples/welcome.html" ng:ext-link>./examples/welcome.html</a> +* <a href="./examples/settings.html" ng-ext-link>./examples/settings.html</a> +* <a href="./examples/welcome.html" ng-ext-link>./examples/welcome.html</a> <doc:example module="deepLinking"> <doc:source jsfiddle="false"> @@ -73,7 +73,7 @@ The two partials are defined in the following URLs: $scope.cancel(); } </script> - <div ng:controller="AppCntl"> + <div ng-controller="AppCntl"> <h1>Your App Chrome</h1> [ <a href="welcome">Welcome</a> | <a href="settings">Settings</a> ] <hr/> @@ -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.ng-view ng-view} 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. |
