aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/route.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-14 13:38:39 +0000
committerPeter Bacon Darwin2014-02-16 19:03:43 +0000
commit6f0503514fd42e5ef950972946e0bf04044c0d13 (patch)
tree8a094a75859b03947750ce20142180a46f45e1b8 /src/ngRoute/route.js
parent5c6f9f8e8192030b0cb4d820f97de08f278c6075 (diff)
downloadangular.js-6f0503514fd42e5ef950972946e0bf04044c0d13.tar.bz2
docs(ngRoute): ask for examples to have their base[href] fixed
Diffstat (limited to 'src/ngRoute/route.js')
-rw-r--r--src/ngRoute/route.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index 3661722f..f958849e 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -269,7 +269,7 @@ function $RouteProvider(){
Note that this example is using {@link ng.directive:script inlined templates}
to get it working on jsfiddle as well.
- <example module="ngViewExample" deps="angular-route.js">
+ <example name="$route-service" module="ngRouteExample" deps="angular-route.js" fixBase="true">
<file name="index.html">
<div ng-controller="MainCntl">
Choose:
@@ -302,7 +302,7 @@ function $RouteProvider(){
</file>
<file name="script.js">
- angular.module('ngViewExample', ['ngRoute'])
+ angular.module('ngRouteExample', ['ngRoute'])
.config(function($routeProvider, $locationProvider) {
$routeProvider.when('/Book/:bookId', {