Formatting pipes
Learn Formatting pipes (Module 7 · Pipes, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What are pipes? Built-in pipes • A pipe takes a value, changes how it looks, and returns the result, like a coffee filter between the raw data and the screen. It never changes the original value. You write it with the pipe character: {{ value | pipeName }} . • Angular ships built-in pipes in @angular/common : DatePipe, UpperCasePipe, LowerCasePipe, TitleCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, JsonPipe, SlicePipe, KeyValuePipe, AsyncPipe and more. In a standalone component list the ones you use in imports .