I have two ng-repeat elements where I want to display data only when the text value of both the array element matches. I tried using ng-show but it doest not terminate the condition when the value matches.
<div ng-show="activity.id == actor"> found <span ng-repeat="text in activity.text"> \{{text}} </span> </div>
when the text value of both the array element matches? do you wanted to compare each and every element of array?