Skip to content

Commit 861b1a3

Browse files
LeonardoBragaNarretz
authored andcommitted
docs(ngModel): improve formatting of $modelValue
Closes angular#11483
1 parent 72ff49f commit 861b1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngModel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
502502
* If the validity changes to invalid, the model will be set to `undefined`,
503503
* unless {@link ngModelOptions `ngModelOptions.allowInvalid`} is `true`.
504504
* If the validity changes to valid, it will set the model to the last available valid
505-
* modelValue, i.e. either the last parsed value or the last value set from the scope.
505+
* `$modelValue`, i.e. either the last parsed value or the last value set from the scope.
506506
*/
507507
this.$validate = function() {
508508
// ignore $validate before model is initialized

0 commit comments

Comments
 (0)