From cc961888cd4d37b112864db69486bc83daea7010 Mon Sep 17 00:00:00 2001 From: Leonardo Braga Date: Wed, 1 Apr 2015 20:58:52 -0400 Subject: [PATCH] docs(ngModel): improve formatting of `$modelValue` Closes #11483 --- src/ng/directive/ngModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/directive/ngModel.js b/src/ng/directive/ngModel.js index 8836093195f9..b3d23a93d877 100644 --- a/src/ng/directive/ngModel.js +++ b/src/ng/directive/ngModel.js @@ -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