Could you please help me to find an answer of how to dynamically add an attribute && class to the HTML template in Angular 2?
Eg.:
<div class="some-class class-8" col-8></div>
8 in above example should come from configuration property, but if specific property is not defined, then col- and class- shouldn't be injected.
Please do not point out that this type of attribute is a bug (this case occurs in Ionic2)