← BYTES
AngularJS·Starter·Ref: 5.1.8

What do double curly braces like {{ username }} do in an AngularJS template?

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

a.They interpolate (insert) the current value of the expression into the rendered HTML
b.They define a JavaScript comment
c.They declare a new variable
d.They import an external template file
{{ expression }} is AngularJS's interpolation syntax -- it evaluates the expression against the current scope and inserts the resulting value as text into the page, updating automatically as the underlying data changes.

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#BYTES518#AngularJS