Using common ng repeat for different ion slides in slide box


#1

I have 2 ionic slides in slide box. Both these slides use data from an array of objects.

<ion-slide-box>
<ion-slide>
</ion-slide>

<ion-slide>
</ion-slide>
</ion-slide-box>

How can I use ng repeat only once to populate data in these two slides? I do not want to loop the same object twice.