Skip to content

Commit

Permalink
docs(ngModel): improve formatting of $modelValue
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoBraga authored and Narretz committed Apr 30, 2015
1 parent 69f4d0f commit cc96188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/directive/ngModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
* If the validity changes to invalid, the model will be set to `undefined`,
* unless {@link ngModelOptions `ngModelOptions.allowInvalid`} is `true`.
* If the validity changes to valid, it will set the model to the last available valid
* modelValue, i.e. either the last parsed value or the last value set from the scope.
* `$modelValue`, i.e. either the last parsed value or the last value set from the scope.
*/
this.$validate = function() {
// ignore $validate before model is initialized
Expand Down

0 comments on commit cc96188

Please sign in to comment.