bindings angular code example
Example 1: angular binding
<input [disabled]="condition ? true : false">
<input [attr.disabled]="condition ? 'disabled' : null">
Example 2: Bidirectionnal model binding
content_copy
<app-sizer [(size)]="fontSizePx"></app-sizer>