title: How to change table row color based on 3 condition in angularJs
body: <p>I am created a AngularJs application.I need to change table row background color based on 3 condition.I know to change background color based on 2 condition using following way</p>
  
  <pre><code>&lt;td ng-class="{'red': (variable == 1), 'blue': (variable ==2)}"&gt;{{data.material_or_service}&lt;/td&gt;
  </code></pre>
  
  <p>I need to do above using three condition;that is <b>variable==3</b>.is any way to do it.</p>