aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/directive
diff options
context:
space:
mode:
authorMatias Niemelä2013-07-28 14:02:05 -0400
committerMisko Hevery2013-07-29 21:22:05 -0700
commit419ed040b6004909a22e96bfe1bc95c5aa0f38db (patch)
treec907ee59899d754d2d4ba6da667c3723a46cf3ba /src/ngRoute/directive
parent8d6bd510948cc8598e7cfbb9ebb545fb97795661 (diff)
downloadangular.js-419ed040b6004909a22e96bfe1bc95c5aa0f38db.tar.bz2
chore(ngdocs): fixed jsFiddle/Plunkr examples to include ngAnimate and use a default App the module is not set
Diffstat (limited to 'src/ngRoute/directive')
-rw-r--r--src/ngRoute/directive/ngView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js
index c4add9ce..2ca41897 100644
--- a/src/ngRoute/directive/ngView.js
+++ b/src/ngRoute/directive/ngView.js
@@ -99,7 +99,7 @@ ngRouteModule.directive('ngView', ngViewFactory);
</file>
<file name="script.js">
- angular.module('ngViewExample', ['ngRoute'], function($routeProvider, $locationProvider) {
+ angular.module('ngViewExample', ['ngRoute', 'ngAnimate'], function($routeProvider, $locationProvider) {
$routeProvider.when('/Book/:bookId', {
templateUrl: 'book.html',
controller: BookCntl,