0Pricing
Angular Academy · Lesson

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

  1. Using Built-in Pipes
  2. Chaining and Parameterizing Pipes
  3. Creating Custom Pipes
  4. Pure vs Impure Pipes
← Back to Angular Academy