Struggling to convey my thoughts in English, but here it goes. Imagine two objects linked by colorid:
$scope.fruits = {{name:"apple",colorid:"1"},etc};
$scope.colors = {{id:"1",value:"red"};
I've created a table with search and filter functionalities using ng-repeat
ng-repeat="fruit in fruits | orderBy:sortType:sortReverse | filter:search"
My goal is to ... be able to still see "apple" when searching/filtering for the color "red".
Edit: It's clear that there isn't a direct connection within the ng-repeat with the second object "colors". The straightforward solution would involve iterating through each "fruit" and pushing its color value (red) into the "fruits" object itself. This way, when searching/filtering for "red", the "apple" object remains visible in the search table. Although, I can't help but wonder if there might be an Angular-oriented solution for connected tables and their relationship ids.