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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -