This sounds very simple but I have been struggling with it!
In AngularJs 1.4, I have an ng-if which is using array's some() function. I get syntax error
Syntax Error: Token '>' not a primary expression at column ...
when doing this.
My HTML is:
<!-- DOES NOT WORK!! -->
<div ng-if="myArr.some(x => x == 'car')">
Function check fine!
</div>
Here is the plunk https://plnkr.co/edit/v5SLIU5dQdIlpP5sCmzR
Thanks!