devmark / angular-slick-carousel

Angular directive for slick-carousel
http://devmark.github.io/angular-slick-carousel/
MIT License
353 stars 125 forks source link

ng-repeat for slides removed when settings changed #118

Open phazei opened 7 years ago

phazei commented 7 years ago

It seems that the destroy method deletes everything that was initially inside the slider directive, so any ng-repeat items are lost

phazei commented 7 years ago

On destroy, it should only do element.slick('unslick') rather than destroying the data when it's reinitialized