How to use a dynamic value with ngClass September 24, 2023 by Tarik Better later than never. <div ng-class="{'{{item.name}}' : item.condition}"> yes. ' and {{ for classname.