aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/animations.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/guide/animations.ngdoc')
-rw-r--r--docs/content/guide/animations.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/animations.ngdoc b/docs/content/guide/animations.ngdoc
index 0cf08eb7..19147145 100644
--- a/docs/content/guide/animations.ngdoc
+++ b/docs/content/guide/animations.ngdoc
@@ -15,7 +15,7 @@ Animations are not available unless you include the {@link ngAnimate `ngAnimate`
Below is a quick example of animations being enabled for `ngShow` and `ngHide`:
-<example animations="true">
+<example module="ngAnimate" deps="angular-animate.js" animations="true">
<file name="index.html">
<div ng-init="checked=true">
<label>
@@ -214,7 +214,7 @@ able to capture class changes if an **expression** or the **ng-class** directive
The example below shows how to perform animations during class changes:
-<example animations="true">
+<example module="ngAnimate" deps="angular-animate.js" animations="true">
<file name="index.html">
<p>
<input type="button" value="set" ng-click="myCssVar='css-class'">