From 861b1a3d9d31c547326e06d1a0b03938114a7b08 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 2ef64a961e11..b9be7f2d734a 100644 --- a/src/ng/directive/ngModel.js +++ b/src/ng/directive/ngModel.js @@ -502,7 +502,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