What is a Pipe?
Pipes in angular are used to transform or format data before displaying it in the view. Angular pipe takes data as an input and it formats or transforms that data before displaying it in the template.
Pipes can be applied to expressions in interpolation ({{ }}
), property bindings ([ ]
), attribute bindings ([attr]
), and more.