aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/route.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/route.js')
-rw-r--r--src/ng/route.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ng/route.js b/src/ng/route.js
index 864cb0ee..fe726b88 100644
--- a/src/ng/route.js
+++ b/src/ng/route.js
@@ -30,8 +30,8 @@ function $RouteProvider(){
* - `controller` – `{function()=}` – Controller fn that should be associated with newly
* created scope.
* - `template` – `{string=}` – path to an html template that should be used by
- * {@link angular.module.ng.$compileProvider.directive.ng-view ng-view} or
- * {@link angular.module.ng.$compileProvider.directive.ng-include ng-include} directives.
+ * {@link angular.module.ng.$compileProvider.directive.ngView ngView} or
+ * {@link angular.module.ng.$compileProvider.directive.ngInclude ngInclude} directives.
* - `redirectTo` – {(string|function())=} – value to update
* {@link angular.module.ng.$location $location} path with and trigger route redirection.
*
@@ -107,12 +107,12 @@ function $RouteProvider(){
*
* You can define routes through {@link angular.module.ng.$routeProvider $routeProvider}'s API.
*
- * The `$route` service is typically used in conjunction with {@link angular.module.ng.$compileProvider.directive.ng-view ng-view}
+ * The `$route` service is typically used in conjunction with {@link angular.module.ng.$compileProvider.directive.ngView ngView}
* directive and the {@link angular.module.ng.$routeParams $routeParams} service.
*
* @example
This example shows how changing the URL hash causes the `$route` to match a route against the
- URL, and the `ng-view` pulls in the partial.
+ URL, and the `ngView` pulls in the partial.
Note that this example is using {@link angular.module.ng.$compileProvider.directive.script inlined templates}
to get it working on jsfiddle as well.
@@ -241,7 +241,7 @@ function $RouteProvider(){
* Causes `$route` service to reload the current route even if
* {@link angular.module.ng.$location $location} hasn't changed.
*
- * As a result of that, {@link angular.module.ng.$compileProvider.directive.ng-view ng-view}
+ * As a result of that, {@link angular.module.ng.$compileProvider.directive.ngView ngView}
* creates new scope, reinstantiates the controller.
*/
reload: function() {