How can I conditionally add an element attribute e.g. the
of a checkbox?
Previous versions of Angular had
and I think
which all seem to provide the functionality that I'm after. However, these attributes do not appear to exist in Angular 2 and I see no other way of providing this functionality.