angular-cn/modules/core/docs/03_formatters.md

16 lines
381 B
Markdown
Raw Normal View History

# Formatters
Formatters can be appended on the end of the expressions to translated the value to a different format. Typically used
to controll the stringification of numbers, dates, and other data, but can also be used for ordering, maping, and
reducing arrays. Formatters can be chained.
NOTE: Formatters are known as filters in Angular v1.
Formatters syntax is:
```
```