Chaining and Parameterizing Pipes
Combine pipes and pass arguments.
Passing Arguments to Pipes
Pipes can accept arguments after a colon. The form is {{ value | pipeName:arg1:arg2 }}. Each argument is separated by its own colon.
A Single Argument
Many pipes take one argument. For example, the date pipe takes a format string.
<p>{{ today | date:"fullDate" }}</p>
<!-- Saturday, May 30, 2026 -->All lessons in this course
- Using Built-in Pipes
- Chaining and Parameterizing Pipes
- Creating Custom Pipes
- Pure vs Impure Pipes