From d8c010ac1ee26cc15dc53daa1df54d55937fc87d Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Tue, 13 Aug 2013 14:16:21 -0700 Subject: docs(tutorial): fix links to ngRoute module --- docs/content/tutorial/step_07.ngdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/content/tutorial/step_07.ngdoc b/docs/content/tutorial/step_07.ngdoc index f3ac4994..3b1f66c2 100644 --- a/docs/content/tutorial/step_07.ngdoc +++ b/docs/content/tutorial/step_07.ngdoc @@ -36,8 +36,8 @@ our application. Other "partial templates" are then included into this layout te the current "route" — the view that is currently displayed to the user. Application routes in Angular are declared via the -{@link api/ng.$routeProvider $routeProvider}, which is the provider of the -{@link api/ng.$route $route service}. This service makes it easy to wire together +{@link api/ngRoute.$routeProvider $routeProvider}, which is the provider of the +{@link api/ngRoute.$route $route service}. This service makes it easy to wire together controllers, view templates, and the current URL location in the browser. Using this feature we can implement {@link http://en.wikipedia.org/wiki/Deep_linking deep linking}, which lets us utilize the browser's @@ -104,7 +104,7 @@ the browser address doesn't match either of our routes. Note the use of the `:phoneId` parameter in the second route declaration. The `$route` service uses the route declaration — `'/phones/:phoneId'` — as a template that is matched against the current URL. All variables defined with the `:` notation are extracted into the -{@link api/ng.$routeParams $routeParams} object. +{@link api/ngRoute.$routeParams $routeParams} object. In order for our application to bootstrap with our newly created module we'll also need to specify @@ -134,7 +134,7 @@ function PhoneDetailCtrl($scope, $routeParams) { ## Template -The `$route` service is usually used in conjunction with the {@link api/ng.directive:ngView +The `$route` service is usually used in conjunction with the {@link api/ngRoute.directive:ngView ngView} directive. The role of the `ngView` directive is to include the view template for the current route into the layout template, which makes it a perfect fit for our `index.html` template. -- cgit v1.2.3