From 6f0503514fd42e5ef950972946e0bf04044c0d13 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 14 Feb 2014 13:38:39 +0000 Subject: docs(ngRoute): ask for examples to have their base[href] fixed --- src/ngRoute/directive/ngView.js | 4 +++- src/ngRoute/route.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ngRoute') 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 - +
Choose: 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. - +
Choose: @@ -302,7 +302,7 @@ function $RouteProvider(){ - angular.module('ngViewExample', ['ngRoute']) + angular.module('ngRouteExample', ['ngRoute']) .config(function($routeProvider, $locationProvider) { $routeProvider.when('/Book/:bookId', { -- cgit v1.2.3