Hi people,
i use the angular-swiper directive in my project.
Here a codesnippet:
<ks-swiper-container class="teaser-slider" swiper="$ctrl.swiper" override-parameters="$ctrl.swiperSettings" pagination-is-active="true"><ks-swiper-slide class="swiper-slide" ng-repeat="slide in $ctrl.slides track by $index"><h4>{{slide.headline}}</h4><p>{{slide.subheadline}}</p></ks-swiper-slide></ks-swiper-container>
When I add or remove some slide objects from the $ctrl.slides array in my controller the slider won´t apply the changes.
Whats wrong or how can I fix this?
Thanks for your help!
Hi people, i use the angular-swiper directive in my project.
Here a codesnippet:
<ks-swiper-container class="teaser-slider" swiper="$ctrl.swiper" override-parameters="$ctrl.swiperSettings" pagination-is-active="true">
<ks-swiper-slide class="swiper-slide" ng-repeat="slide in $ctrl.slides track by $index">
<h4>{{slide.headline}}</h4>
<p>{{slide.subheadline}}</p>
</ks-swiper-slide>
</ks-swiper-container>
When I add or remove some slide objects from the $ctrl.slides array in my controller the slider won´t apply the changes.
Whats wrong or how can I fix this? Thanks for your help!