From e9c0452e84833fd7ebfecf0fbfc0f44daa24d108 Mon Sep 17 00:00:00 2001 From: Leonardo Braga Date: Wed, 1 Apr 2015 20:58:52 -0400 Subject: [PATCH] docs(ngModel): fix docs reference to `$modelValue` --- 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 44cfdbddabfe..b44da98d9116 100644 --- a/src/ng/directive/ngModel.js +++ b/src/ng/directive/ngModel.js @@ -501,7 +501,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