I'm having an issue with a simple thing I guess ...
I just need my span tag to have a class named store in a variable from my .ts file:
<span [ngClass]="{'flag-icon': true, 'my_property_in_TS': true}"></span>
I tried some things like this :
<span [ngClass]="{'flag-icon': true, ${lang.codeIcon}: true}"></span>
<span [ngClass]="{'flag-icon': true, lang.codeIcon: true}"></span>
I'm sure the answer is very simple... Does someone knows how to make it ?