I'm developing an app with Aurelia and let's say I have a loop there:
<div repeat.for="t of allTags">${t.name}</div>
There are many entries so naturally I would like to limit number of them shown. So basically I would like to have something like Angular's repeat limit:
<div ng-repeat="t in allTags | limitTo:5 ">{{t.name}}</div>
I have checked the docs here http://aurelia.io/docs.html but haven't found anything on the topic.
Is there a feature like that in Aurelia? If no, would I rather cut the list in controller of do it in the view with $index
?
Thanks!