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

Property binding

Property binding is used to bind a component property to an HTML element property:

<div [hidden]="hidePubName>Packt Publishing</div> 

The preceding code snippet binds the hidePubName component property to the div property hidden. This is also a one-way binding where the data flows from a component property to a 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