In my view, I am using this Angular expression:
<span ng-if="{{list.StoreList ? (list.StoreList.length ' Products)' : '(0 Products)'}}"> </span>
The purpose is to display the count of items in StoreList if there are any, otherwise show 0 products.
I'm encountering an unexpected error from AngularJS.
What would be the best way to resolve this issue?