I've got a bunch of data I would like to display in a sliding carousel type layout. Ideally we would show 8 of these data points in each slide, so that it would look something like this:
Slide
datapoint 1
datapoint 2
datapoint 3
datapoint 4
datapoint 5
datapoint 6
datapoint 7
Slide
datapoint 8
datapoint 9
datapoint 10
datapoint 11
etc etc...
Now I know how to iterate over these datapoints using ng-repeat, however, i'm not sure how I can iterate while grouping them into their own respective groups.
Currently i'm using ng-repeat="(index, master) in data"
to iterate, but obviously, this gives me a list of items without the grouping that i'm after.
Any ideas?
take a look in here. angular grouping filter
There's nice example about grouping. This may be the thing you need.
Edit: wrong link. :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.