0 votes
in Angular by
What is string interpolation in Angular?

1 Answer

0 votes
by

Also referred to as moustache syntax, string interpolation in Angular refers to a special type of syntax that makes use of template expressions in order to display the component data. These template expressions are enclosed within double curly braces i.e. {{ }}.

The JavaScript expressions that are to be executed by Angular are added within the curly braces and the corresponding output is embedded into the HTML code. Typically, these expressions are updated and registered like watches as a part of the digest cycle.

Related questions

+1 vote
asked Jul 5, 2021 in Angular by sharadyadav1986
0 votes
asked Nov 18, 2021 in Travel Insurance by DavidAnderson
...