Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 381 Bytes

03_formatters.md

File metadata and controls

15 lines (8 loc) · 381 Bytes

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: