Angular — Understanding pipes and Different ways to use them

Exploring Angular pipes with examples

Bhargav Bachina
Mar 13, 2019 · 8 min read

Sometimes we want to change data from API or some other source by editing it before we put that in the template. It’s okay to edit in the component if the data is private to one component. what if we have to do this in a lot of components in the app?

It’s not best practice to do that multiple places in the app. Angular pipes are a great way to use for these scenarios. Pipes take the input and transform it in a desired way and outputs in the…