Can you help me find a way to display the length of filtered data, exactly like in this question, but using collection-repeat
.
The alias
way doesn't seem to work:
<div>{{filtered.length}}</div>
<ion-item collection-repeat="item in prodataSelect | orderBy:sort | filter:search | filter: selectBrand.brand | filter: selectName as filtered" item-width="98%" item-height="75">
nor this way:
<div>{{filtered.length}}</div>
<ion-item collection-repeat="item in filtered =( prodataSelect | orderBy:sort | filter:search | filter: selectBrand.brand | filter: selectName )" item-width="98%" item-height="75">
Thanks