diff --git a/src/ng/directive/ngClass.js b/src/ng/directive/ngClass.js index ec36fe505b52..b9e7286a6aa1 100644 --- a/src/ng/directive/ngClass.js +++ b/src/ng/directive/ngClass.js @@ -148,9 +148,9 @@ function classDirective(name, selector) { * new classes added. * * @animations - * **add** - happens just before the class is applied to the elements + * `.ng-add` - happens just before the class is applied to the elements * - * **remove** - happens just before the class is removed from the element + * `.ng-remove` - happens just before the class is removed from the element * * @element ANY * @param {expression} ngClass {@link guide/expression Expression} to eval. The result diff --git a/src/ng/directive/ngIf.js b/src/ng/directive/ngIf.js index 2e9d10888995..2fa1a8a0ce64 100644 --- a/src/ng/directive/ngIf.js +++ b/src/ng/directive/ngIf.js @@ -34,8 +34,9 @@ * and `leave` effects. * * @animations - * enter - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container - * leave - happens just before the `ngIf` contents are removed from the DOM + * `.ng-enter` - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container + * + * `.ng-leave` - happens just before the `ngIf` contents are removed from the DOM * * @element ANY * @scope diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index 97c11a6bab1c..c77aeaab7cc8 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -23,8 +23,9 @@ * access on some browsers. * * @animations - * enter - animation is used to bring new content into the browser. - * leave - animation is used to animate existing content away. + * `.ng-enter` - animation is used to bring new content into the browser + * + * `.ng-leave` - animation is used to animate existing content away * * The enter and leave animation occur concurrently. * diff --git a/src/ng/directive/ngRepeat.js b/src/ng/directive/ngRepeat.js index 87101558a36f..fc23b55b1b50 100644 --- a/src/ng/directive/ngRepeat.js +++ b/src/ng/directive/ngRepeat.js @@ -152,11 +152,11 @@ * as **data-ng-repeat-start**, **x-ng-repeat-start** and **ng:repeat-start**). * * @animations - * **.enter** - when a new item is added to the list or when an item is revealed after a filter + * `.ng-enter` - when a new item is added to the list or when an item is revealed after a filter * - * **.leave** - when an item is removed from the list or when an item is filtered out + * `.ng-leave` - when an item is removed from the list or when an item is filtered out * - * **.move** - when an adjacent item is filtered out causing a reorder or when the item contents are reordered + * `.ng-move` - when an adjacent item is filtered out causing a reorder or when the item contents are reordered * * @element ANY * @scope diff --git a/src/ng/directive/ngShowHide.js b/src/ng/directive/ngShowHide.js index 6ea9b64d2ed5..edcfa2ee5d26 100644 --- a/src/ng/directive/ngShowHide.js +++ b/src/ng/directive/ngShowHide.js @@ -89,8 +89,8 @@ var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate'; * property to block during animation states--ngAnimate will handle the style toggling automatically for you. * * @animations - * addClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a truthy value and the just before contents are set to visible - * removeClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a non truthy value and just before the contents are set to hidden + * `.ng-hide` - happens after the `ngShow` expression evaluates to a truthy value and the just before contents are set to visible + * `.ng-hide` - happens after the `ngShow` expression evaluates to a non truthy value and just before the contents are set to hidden * * @element ANY * @param {expression} ngShow If the {@link guide/expression expression} is truthy diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index 96e049ad618e..55c7ee4aaab6 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -27,8 +27,9 @@ * * @animations - * enter - happens after the ngSwitch contents change and the matched child element is placed inside the container - * leave - happens just after the ngSwitch contents change and just before the former contents are removed from the DOM + * `.ng-enter` - happens after the ngSwitch contents change and the matched child element is placed inside the container + * + * `.ng-leave` - happens just after the ngSwitch contents change and just before the former contents are removed from the DOM * * @usage * diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js index f26ffbb3df5e..491543e6d8e2 100644 --- a/src/ngRoute/directive/ngView.js +++ b/src/ngRoute/directive/ngView.js @@ -19,8 +19,9 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory); * Requires the {@link ngRoute `ngRoute`} module to be installed. * * @animations - * enter - animation is used to bring new content into the browser. - * leave - animation is used to animate existing content away. + * `.ng-enter` - animation is used to bring new content into the browser + * + * `.ng-leave` - animation is used to animate existing content away * * The enter and leave animation occur concurrently. *