From 217feda041c62d55ee13a0fad3563f36863fddc0 Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Tue, 29 Oct 2013 13:53:44 -0700 Subject: docs($route): change example module name The name of the example module is `ngView`, which might cause needless confusion. Changed name to `ngViewExample`, which should make it clearer. Closes #4702 --- src/ngRoute/route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ngRoute/route.js') diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js index cf6e9991..14f53d1d 100644 --- a/src/ngRoute/route.js +++ b/src/ngRoute/route.js @@ -264,7 +264,7 @@ function $RouteProvider(){ Note that this example is using {@link ng.directive:script inlined templates} to get it working on jsfiddle as well. - +
Choose: @@ -297,7 +297,7 @@ function $RouteProvider(){ - angular.module('ngView', ['ngRoute']).config(function($routeProvider, $locationProvider) { + angular.module('ngViewExample', ['ngRoute']).config(function($routeProvider, $locationProvider) { $routeProvider.when('/Book/:bookId', { templateUrl: 'book.html', controller: BookCntl, -- cgit v1.2.3