Angular Dodaj atrybut HTML po warunkach

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