Combine Pipes
Discover how to combine multiple Angular pipes by chaining them to perform several data transformations in sequence. This lesson helps you understand applying built-in pipes together, enabling efficient and readable formatting in your Angular applications.
We'll cover the following...
We'll cover the following...
At this point, we know how to use pipes and implement our own pipes if the built-in pipes are simply not enough. However, there’s more to learn. What should we do if the pipes we have in our codebase contain all the transformation logic we need, but we need to display values as results of multiple pipe transformations?
Chain pipes
There’s a method that allows us to combine multiple pipes together. They create a so-called chain of transformations. Let’s imagine a ...