This is for your idea. ng-class="{test: obj.value1 == 'someothervalue' || obj.value2 == 'somethingelse'}. Check here ng class if else ...
確定! 回上一頁