title: Angular ngClass multiple ternary operator conditions
body: <p>What is the best way to put more than 1 ternary conditional class in angular's <code>ngClass</code> directive, where the values are the class-names?</p>
  
  <p>I've tried a few variations on this, but i always get a compiling error:</p>
  
  <p><code>ng-class="$index &gt; 2 ? 'l3 m4 s12 medium' : 'l4 m6 s12 medium', true ? 'red':'blue'</code></p>
  
  <p><code>ng-class="{$index &gt; 2 ? 'l3 m4 s12 medium' : 'l4 m6 s12 medium', true ? 'red':'blue'}</code></p>