title: Angular js scope variable inside ng-class?
body: <p>How add a scope variable inside ng-class ? is it possible to combine ng-class and class together with scope variable ?</p>
  
  <p>I am building an accordion. So I need to have unique "isopen" class, say isopne1, isopen2, etc.. for each accordion to work. </p>
  
  <pre><code>&lt;accordion-heading&gt;
    {{list.name}}&lt;i class="pull-right glyphicon" ng-class="{'icon-arrow-down-solid': isopen, 'icon-arrow-right-solid': !isopen}"&gt;&lt;/i&gt;
  &lt;/accordion-heading&gt;
  </code></pre>
  
  <p>The above code is in ng-repeat. How can I set something like this</p>
  
  <p><code>ng-class="{'icon-arrow-down-solid': isopen{{list.value}}, 'icon-arrow-right-solid': !isopen{{list.value}}}"</code></p>