Formatters are used for translating data formats between those used in for display and those used for storage.
Following is the list of built-in angular formatters:
boolean
- Formats user input in boolean formatjson
- Formats user input in JSON formatlist
- Formats user input string as an arraynumber
- Formats user input strings as a numbertrim
- Trims extras spaces from end of user inputFor more information about how angular formatters work, and how to create your own formatters, see Understanding Angular Formatters in the angular Developer Guide.