title: trying to use ng-class with multiple conditions
body: <p>I'm trying to set up an ng-class to work on a div with two conditions:</p>
  
  <p>ng-class="(accounts.length == 1 &amp;&amp; account.cardName =='Cash') ? 'one-dash-cash' : ''"</p>
  
  <p>and </p>
  
  <p>ng-class="(accounts.length == 1 &amp;&amp; account.cardName =='Points') ? 'one-dash' : ''"</p>
  
  <p>What's the best way to accomplish this? I've read that I shouldn't have all this logic in the HTML, but I'm not sure how to do this.</p>
  
  <p>Thanks in advance..</p>