Set Class if json Array is 0 : <p>I try to build a User bar like in Facebook "New Friend Requests" ore "New Pms"</p>

<p>This is now my HTML Template Code:</p>

<pre><code>&lt;li class="icon-element pms"&gt;
    &lt;div class="icon" ng-include="iconPm"&gt;&lt;/div&gt;
    &lt;span class="counter"&gt;{{account.newPms}}&lt;/span&gt;
&lt;/li&gt;
</code></pre>

<p>In the span is {{account.newPms}} this can be 0. If it is 0, then i want to set a class in the li namend "is-zero"</p>

<p>I found some in other topics like:</p>

<pre><code>&lt;li ng-if="account.newPms == '0'&gt;&lt;/li&gt;
</code></pre>

<p>but how i can set the class in the li if it is 0?</p>

<p>best regards!</p>
