Using an AngularJS filter method on a repeated array of items and attempting to filter numbers with a limitTo filter.
Take a look at my JsFiddle code snippet.
The filter is functioning properly, but there is a condition ng-if="!o.IsFeaturedEvent"
where the filter should only apply to event listings that are not considered IsFeaturedEvent
. Currently, it is applying to all events.
How can I effectively use limitto with the ng-if condition?
If you have any suggestions or solutions, please provide them. Thank you!