# Ionic Swiper - ng-repeat with loop (problem)

**URL:** <https://forum.ionicframework.com/t/ionic-swiper-ng-repeat-with-loop-problem/57959>\
**Category:** ionic-v1\
**Created:** [July 19, 2016, 1:56pm UTC](https://forum.ionicframework.com/t/ionic-swiper-ng-repeat-with-loop-problem/57959 "2016-07-19T13:56:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clément](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@Clément](https://forum.ionicframework.com/u/Cl%C3%A9ment)\
**Post date:** [July 19, 2016, 1:56pm UTC](https://forum.ionicframework.com/t/ionic-swiper-ng-repeat-with-loop-problem/57959/1 "2016-07-19T13:56:11Z")

</div>

Hello,

I use [Swiper](http://idangero.us/swiper/api/) ([ion-slide](http://ionicframework.com/docs/api/directive/ionSlides/)) 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](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).

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.

(sorry, my English is not good)  
Thanks for your help.
