From ce776198624005dc535a16e9019cf3fc6cbed9ee Mon Sep 17 00:00:00 2001 From: Mark Stover Date: Thu, 7 May 2015 16:24:56 -0500 Subject: [PATCH] docs(ngAnimate): describe your change... The event needs to map to the css class, or else the css class won't fire --- src/ngAnimate/module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ngAnimate/module.js b/src/ngAnimate/module.js index 9dd0d44b845e..b951bfce41da 100644 --- a/src/ngAnimate/module.js +++ b/src/ngAnimate/module.js @@ -364,7 +364,7 @@ * return { * enter: function(element, doneFn) { * var animation = $animateCss(element, { - * event: 'enter' + * event: 'ng-enter' * }); * * if (animation) { @@ -390,7 +390,7 @@ * return { * enter: function(element, doneFn) { * var animation = $animateCss(element, { - * event: 'enter', + * event: 'ng-enter', * addClass: 'maroon-setting', * from: { height:0 }, * to: { height: 200 }