Atributo angular adicione html na condição

<input [attr.attribute] = "condition ? '' : null" />
Ukulily