I have an ng-repeat attribute with this filter
ng-repeat="offer in Offers.full | filter: { IdOffer: Filter.value } | orderBy: Order.type+Order.column track by offer.IdDeal
Pretty straightforward: the array of objects is contained in $scope.Offers.full, the property name selected for "order by" is stored in $scope.Order.column (and $scope.Order.type add a + or - to switch from ascending to descending), the filter on "IdOffer" property is in $scope.Filter.value.
Now I want to filter $scope.Filter.value not on "IdOffer" property but on a property witch name is stored in $scope.Filter.column variable. Is it possible something like this?
| filter: { Filter.column: Filter.value }
$scope.filterObjobject where to add attributes dinamically, then I passed it to the filter| filter: filterObj. Your solution seem to work as well, but I can't test it right now because I don't have access to the repository with the code I wrote