diff options
| -rw-r--r-- | src/ng/directive/form.js | 9 | ||||
| -rw-r--r-- | src/ng/directive/input.js | 4 | 
2 files changed, 7 insertions, 6 deletions
| diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index 4e6ec20d..1424157c 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -287,10 +287,11 @@ function FormController(element, attrs, $scope, $animate) {   *   * ## Animation Hooks   * - * Animations in ngForm are triggered when any of the associated CSS classes are added and removed. These - * classes are: `.pristine`, `.dirty`, `.invalid` and `.valid` as well as any other validations that - * are performed within the form. Animations in ngForm are similar to how they work in ngClass and - * animations can be hooked into using CSS transitions, keyframes as well as JS animations. + * Animations in ngForm are triggered when any of the associated CSS classes are added and removed. + * These classes are: `.ng-pristine`, `.ng-dirty`, `.ng-invalid` and `.ng-valid` as well as any + * other validations that are performed within the form. Animations in ngForm are similar to how + * they work in ngClass and animations can be hooked into using CSS transitions, keyframes as well + * as JS animations.   *   * The following example shows a simple way to utilize CSS transitions to style a form element   * that has been rendered as invalid after it has been validated: diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index b9a23c8b..c31bb400 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -1264,8 +1264,8 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$   * ## Animation Hooks   *   * Animations within models are triggered when any of the associated CSS classes are added and removed - * on the input element which is attached to the model. These classes are: `.pristine`, `.dirty`, - * `.invalid` and `.valid` as well as any other validations that are performed on the model itself. + * on the input element which is attached to the model. These classes are: `.ng-pristine`, `.ng-dirty`, + * `.ng-invalid` and `.ng-valid` as well as any other validations that are performed on the model itself.   * The animations that are triggered within ngModel are similar to how they work in ngClass and   * animations can be hooked into using CSS transitions, keyframes as well as JS animations.   * | 
