May 2018
Intermediate to advanced
512 pages
11h 3m
English
Pipes modify how a data-bound value is displayed in the HTML template.
| Name | Purpose | Usage |
| Date | Formats a date according to locale rules | {{date_value | date[:format]}} |
| Text Transformation | Transforms text to uppercase, lowercase, or title case |
{{value | uppercase}} {{value | lowercase}} {{value | titlecase }} |
| Decimal | Formats a number according to locale rules | {{number | number[:digitInfo]}} |
| Percent | Formats a number as a percentage according to locale rules | {{number | percent[:digitInfo]}} |
| Currency | Formats a number as currency with currency code and symbol according to locale rules | {{number | currency[:currencyCode [:symbolDisplay[:digitInfo]]]}} |
Pipes Source: https://angular.io/guide/pipes
Read now
Unlock full access