Nilai atribut set sudut secara dinamis

 <div [attr.value]="condition?value1:value2"></div>
Philan ISithembiso