aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/cookbook/deeplinking.ngdoc
diff options
context:
space:
mode:
authorVojta Jina2012-03-13 13:52:57 -0700
committerVojta Jina2012-03-13 13:52:57 -0700
commit63be222326f3badbb76371f82d49fed5ab9e3e65 (patch)
treedec4d6f0e8fb72d8226f5a40cb4783b8e3787313 /docs/content/cookbook/deeplinking.ngdoc
parenta29c2cf70cb19f9fb4be2b62e7acd4054751ac51 (diff)
downloadangular.js-63be222326f3badbb76371f82d49fed5ab9e3e65.tar.bz2
docs(input): Fix some broken links, add missing $, use ng- in examples
Diffstat (limited to 'docs/content/cookbook/deeplinking.ngdoc')
-rw-r--r--docs/content/cookbook/deeplinking.ngdoc8
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.