O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Interpolation binding

Interpolation is one of the main features of Angular. You can interpolate any property value or expression to the content of any HTML element, such as div and li. You can achieve this with the help of double-curly braces, {{and}}, as shown in the following line of code:

<div>Hello, {{authorName}}!</div>

Here, we interpolate authorName to the content of the div tag. This is a one-way binding where the data flows from the component property or method to the template.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required