so I have a "price" field on my site made using JQuery-UI slider. This field consists of 2 integer values: minPrice, and maxPrice.
Assume I have an array of objects that looks like this:
objarr=[
{
'name'='item1',
'price'=100
},
{
'name'='item2',
'price'=200
},...
]
and also the following div with ng-repeat:
<div ng-repeat="obj in objarr">
{{obj.name}}: ${{obj.price}}
</div>
How do I create a filter such that only objets with obj['price'] > minPrice and obj['price'] < maxPrice will show?