I am assigning ng-class
to an element using this.
ng-class="{'level-' + {{row.level}}:true,active:TestFlag==true}"
but it is giving me tons of errors. What is wrong with its syntax? What is the correct way of doing this?
use
ng-class="{'level-{{row.level}}': true, active: TestFlag==true}"