← BYTES
AngularJS·Intermediate·Ref: 5.2.6

What does the pipe syntax in an expression like {{ name | uppercase }} represent?

Have a question about this video? Mention reference 5.2.6 when you contact us.

a.A bitwise OR operation on the name variable
b.A syntax error in AngularJS templates
c.Applying the uppercase filter to transform the displayed value of name
d.A way to concatenate two scope variables
The pipe character chains the preceding expression's value through the named filter -- filters can also be chained multiple times in sequence, and can take arguments after a colon, e.g. {{ date | date:'short' }}.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES526#AngularJS