In Angular, pipes are a valuable feature. They're a quick and easy way to change values in an Angular template. There are several pipes built-in, but you may also make your own. A pipe accepts one or more values and returns one or more values.
If you're new to Angular and the notion of Pipes, let's start by explaining what a Pipe is before moving on to a Custom Pipe.
Pipes may be thought of in the same way as functions are in Angular. A process can accept parameters and return something new, and Pipes are entirely responsible for this! We could provide a valid Date and receive a String value that is neatly structured for the user interface. The term UI is essential since Pipes are generally used to convert data between our Model and View (the UI)!
That is what a Pipe is all about!
Today is {{today}}
Today is {{today | date}}
Today is {{today | date:"dd/MM/yyyy"}}