javascript - ng-class not working properly -
i trying apply css class tr
conditionally, it's applying class alternatively condition true
. here html:
<tr ng-repeat="g in assgnedheads" ng-if="g.billheadshortform!='fec' && g.billheadshortform!='fdg' && g.billheadshortform!='gl'" ng-class="{'mapped-head':g.pkno!=0}">
Comments
Post a Comment