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.