doc(ngModel): $setViewValue calls all parsers, not formatters

This commit is contained in:
Joakim Blomskøld 2013-05-18 15:47:55 +02:00 committed by Pete Bacon Darwin
parent 11ee680d38
commit 86cbdb893a

View file

@ -985,7 +985,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
* For example {@link ng.directive:input input} or
* {@link ng.directive:select select} directives call it.
*
* It internally calls all `formatters` and if resulted value is valid, updates the model and
* It internally calls all `parsers` and if resulted value is valid, updates the model and
* calls all registered change listeners.
*
* @param {string} value Value from the view.