title: Angularjs dynamic ng-if data binding in span
body: <p>I have this Angular expression in my view:</p>
  
  <pre><code> &lt;span ng-if="{{list.StoreList ? (list.StoreList.length ' Products)' : '(0 Products)'}}"&gt; &lt;/span&gt;
  </code></pre>
  
  <p>So if I have any items in the StoreList then I'll display the count, otherwise I'll just show 0 products. </p>
  
  <p>I'm getting unexpected expecting error from Angularjs. </p>
  
  <p>How can I solve this?</p>