aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/directive/ngView.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/directive/ngView.js
parent5c6f9f8e8192030b0cb4d820f97de08f278c6075 (diff)
downloadangular.js-6f0503514fd42e5ef950972946e0bf04044c0d13.tar.bz2
docs(ngRoute): ask for examples to have their base[href] fixed
Diffstat (limited to 'src/ngRoute/directive/ngView.js')
-rw-r--r--src/ngRoute/directive/ngView.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js
index 1c082962..3fa851a7 100644
--- a/src/ngRoute/directive/ngView.js
+++ b/src/ngRoute/directive/ngView.js
@@ -36,7 +36,9 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
* - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated
* as an expression yields a truthy value.
* @example
- <example module="ngViewExample" deps="angular-route.js;angular-animate.js" animations="true">
+ <example name="ngView-directive" module="ngViewExample"
+ deps="angular-route.js;angular-animate.js"
+ animations="true" fixBase="true">
<file name="index.html">
<div ng-controller="MainCntl as main">
Choose: