diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 00c1c8218c73..ef4525c63482 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -1232,7 +1232,10 @@ var ngModelDirective = function() { * @name ng.directive:ngChange * * @description - * Evaluate given expression when user changes the input. + * Evaluate the given expression when the user changes the input. + * The expression is evaluated immediately, unlike the JavaScript onchange event + * which only triggers at the end of a change (usually, when the user leaves the + * form element or presses the return key). * The expression is not evaluated when the value change is coming from the model. * * Note, this directive requires `ngModel` to be present. @@ -1253,11 +1256,10 @@ var ngModelDirective = function() { * } * *
- * - * - *
- * debug = {{confirmed}}
- * counter = {{counter}} + *
+ * + * Text: {{text}}
+ * Number of changes through field a: {{counter}} *
* *