Angular · Junior · Question 22 of 75
What are pipes in Angular templates?
<p>{{ price | currency: 'EUR' }}</p>
<p>{{ createdAt | date: 'short' }}</p>- ✓Correct answer: Functions that transform a value for display, written with the
|operator - 2Streams for sending data between components
- 3CSS filters applied to text
Explanation
Built-in pipes include date, currency, number, percent, uppercase, json and async. You can chain them and pass arguments after a colon.