Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Have a look at this answer: stackoverflow.com/questions/14788652/… Commented Dec 18, 2013 at 16:58
  • 46
    Classes with dashes need to be quoted: ng-class="'label-success': obj.value1 == 'Ready', 'label-warning': obj.value1 == 'On hold'}" Commented Aug 7, 2014 at 20:05
  • 2
    We can use more condition with ng-class , see on this blog hugedomains.com/… Commented Feb 27, 2015 at 15:13
  • 1
    Related: stackoverflow.com/q/7792652/435605 Commented Dec 8, 2015 at 8:59
  • "Classes with dashes need lashes ''''''' " Commented Sep 12, 2018 at 18:21