File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
3636 * - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated
3737 * as an expression yields a truthy value.
3838 * @example
39- <example module="ngViewExample" deps="angular-route.js;angular-animate.js" animations="true">
39+ <example name="ngView-directive" module="ngViewExample"
40+ deps="angular-route.js;angular-animate.js"
41+ animations="true" fixBase="true">
4042 <file name="index.html">
4143 <div ng-controller="MainCntl as main">
4244 Choose:
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ function $RouteProvider(){
269269 Note that this example is using {@link ng.directive:script inlined templates}
270270 to get it working on jsfiddle as well.
271271
272- <example module="ngViewExample " deps="angular-route.js">
272+ <example name="$route-service" module="ngRouteExample " deps="angular-route.js" fixBase="true ">
273273 <file name="index.html">
274274 <div ng-controller="MainCntl">
275275 Choose:
@@ -302,7 +302,7 @@ function $RouteProvider(){
302302 </file>
303303
304304 <file name="script.js">
305- angular.module('ngViewExample ', ['ngRoute'])
305+ angular.module('ngRouteExample ', ['ngRoute'])
306306
307307 .config(function($routeProvider, $locationProvider) {
308308 $routeProvider.when('/Book/:bookId', {
You can’t perform that action at this time.
0 commit comments