Angular Agregar atributo HTML en condición
<input [attr.attribute] = "condition ? '' : null" />
Ukulily
<input [attr.attribute] = "condition ? '' : null" />