title: How to use a dynamically evaluated angulajs class and append it to the div?
body: <p>I currently have this (in jade)</p>
  
  <pre><code>div(ng-class = "{'{{cardselector.products[0].imageCarousel}}':
                          cardselector.products[0].imageCarousel != null}")
  </code></pre>
  
  <p>When the page loads and the <code>imageCarousel</code> object is updated and then I expect it to add the class evaluated to the <code>div</code> but that's not happening. It's only evaluating the <code>class</code> but not adding it to the <code>div</code>.</p>
  
  <p>Could anyone help?</p>