angular binding examples
Example: angular binding
<input [disabled]="condition ? true : false">
<input [attr.disabled]="condition ? 'disabled' : null">
<input [disabled]="condition ? true : false">
<input [attr.disabled]="condition ? 'disabled' : null">