This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Documentation: $formatters #11714
Closed
Description
It was really unclear as to when $formatters vs $parsers in ngModelController are called.
It took a long time to realize $parsers are called from user inputs whereas $formatters are called from programatic model changes.
It would be nice to have some examples in the documentation demonstrating how to use these properly.