To fine-tune its output, a pipe can receive any number of optional parameters. The parameterized pipe is constructed by first stating the pipe name followed by a colon (:) and then the parameter value. If the pipe supports several arguments, use colons to separate the values.
Example: Let's look at a birthday with a certain format (dd/MM/yyyy):
import { Component } from '@angular/core';
@Component({
selector: 'app-example',
template: `<p>Birthday is {{ birthday | date:'dd/MM/yyyy'}}</p>`
})
export class ExampleComponent {
birthday = new Date(2000, 7, 15);