I use Swiper (ion-slide) with Ionic, but when i create a slider with loop: true and a ng-repeat inside every slide-page, the ng-repeat is multiply by the number of slide only in the slide "swiper-slide-duplicate" for the loop.
Example : https://codepen.io/clementdev/pen/qNxryJ
I create a slider with a ng-repeat for view all the color class on every slide but on the two slide duplicate everything is multiply by ten (number of slide).
<ion-slides options="data.sliderOptions" slider="data.sliderDelegate">
<ion-slide-page ng-repeat="bgColor in data.bgColors">
<div class="box {{bgColor}}">
<p ng-repeat="color in data.bgColors">color class : {{color}}</p>
</div>
</ion-slide-page>
</ion-slides>
I know, i need this slide duplicate for the loop but i don't understand why there duplicate all content and multiply by the number of slide.
Thanks for your help.