Angular menggunakan template syntax khusus untuk menghubungkan data ke view.
Interpolation {{}}
<h1>{{ title }}</h1>
<p>2 + 3 = {{ 2 + 3 }}</p>
Property Binding []
<img [src]="imageUrl" [alt]="imageAlt" />
<button [disabled]="isLoading">Submit</button>
Attribute Binding
<td [attr.colspan]="colSpan">Data</td>
Perbedaan Interpolation vs Property Binding
{{ value }}— untuk teks, selalu convert ke string[prop]="value"— untuk property DOM, bisa boolean/object