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 2ab4fde817
commit 782a82d461

View file

@ -1018,7 +1018,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.