Within my "Saving" model, there is a field called "Retailer".
I want to implement an ng-repeat directive that displays only items with the same "Retailer" value.
Essentially, I am attempting to rectify this issue.
<div ng-repeat="saving in savings | filter: { retailer: {{saving.retailer }} | limitTo:10">
However, this code is incorrect.
Is there a way to use the "Retailer" value from the "Saving" model as the filter?
It appears that this solution works:
<div ng-repeat="saving in savings | filter: { retailer: saving.retailer } | limitTo:10">