diff options
| -rw-r--r-- | src/ngRoute/route.js | 4 |
1 files changed, 2 insertions, 2 deletions
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. - <example module="ngView" deps="angular-route.js"> + <example module="ngViewExample" deps="angular-route.js"> <file name="index.html"> <div ng-controller="MainCntl"> Choose: @@ -297,7 +297,7 @@ function $RouteProvider(){ </file> <file name="script.js"> - 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, |
