diff options
| author | Andrew Jackson | 2013-10-29 13:53:44 -0700 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-10-30 20:58:10 +0000 |
| commit | 217feda041c62d55ee13a0fad3563f36863fddc0 (patch) | |
| tree | faaf9d7b63cd33eb33a488bf496839511a478e5d /src/ngRoute | |
| parent | 6e77f808279ef246db33d2a3cd6f6acd58e84610 (diff) | |
| download | angular.js-217feda041c62d55ee13a0fad3563f36863fddc0.tar.bz2 | |
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
Diffstat (limited to 'src/ngRoute')
| -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, |
