title: IDangerous Swiper duplicates
body: <p>I'm using Swiper in an Angular+Ionic App with new directive:</p>
  
  <pre><code>&lt;ion-slides class="portafoglio-slider"  options="options" slider="slider"&gt;
  &lt;ion-slide-page ng-repeat="card in cards"&gt;
  &lt;div class="portafoglio-img"&gt;
  &lt;img ng-src="{{card.src}}"&gt;
  &lt;p class="pan-card"&gt;{{card.pan}}&lt;/p&gt;
  &lt;/div&gt;
  &lt;/ion-slide-page&gt;
  &lt;/ion-slides&gt;&lt;/code&gt;
  </code></pre>
  
  <p>Then I need to change all (or some) images after slider is loaded. </p>
  
  <p>I use this sample code to replace all images:</p>
  
  <pre><code>$scope.setNewImages = function (){
        for (var j=0; j &lt; $scope.cards.length; j++) {
            $scope.cards[j].src ="http://lorempixel.com/1200/800/sports/1/";   
            console.log("Modifico l'immagine numero "+j);  
             $scope.swiper.update();
        }
      }
  </code></pre>
  
  <p>The real problem is the loop system that duplicates slides on slider initialization and the update() method does not replace the duplicates but only normal slides.</p>
  
  <p>So when I reach the end (or the beginning) of the slider I see old images.</p>
  
  <p>Any help?</p>