Complete the code to use a pipe that formats a date in Angular.
<p>{{ today [1] date:'shortDate' }}</p>In Angular, pipes are used with the | symbol to transform data in templates.
Complete the code to transform a string to uppercase using a pipe.
<p>{{ name [1] uppercase }}</p>The | symbol is used to apply pipes like uppercase in Angular templates.
Fix the error in the code to correctly format a number with a pipe.
<p>{{ amount [1] currency }}</p>The pipe symbol | is required to apply the currency pipe in Angular.
Complete the code to create a pipe that formats a number as a percent with two decimals.
<p>{{ value [1] percent : '1.2-2' }}</p>The pipe symbol | applies the pipe, and : passes parameters to the pipe.
Complete the code to chain pipes that first uppercase a string and then slice it.
<p>{{ text [1] uppercase | slice: 0:5 }}</p>Use | to chain pipes and : to pass arguments to pipes.
