vasyabigi / angular-slick

Angular directive for slick-carousel
http://vasyabigi.github.io/angular-slick/
MIT License
500 stars 237 forks source link

initialSlide not working #128

Open PitySOFT opened 9 years ago

PitySOFT commented 9 years ago

To set up the initial slide this has to be type int, at this moment this is set up as a string so this will brake the angular slick.

Please replace line 97 with this

initialSlide: parseInt(scope.initialSlide) || 0,
jurrinus commented 8 years ago

Yes, I just came across a similar issue and the proposed fix PitySOFT fixed the problem.

ashish173 commented 8 years ago

Any chances of this going into release anytime soon ? @vasyabigi ? btw @jurrinus @PitySOFT how can I change this line when its in the library and angular-slick is downloaded by grunt will it not override in production mode?

lewissmallmedia commented 8 years ago

Yes please I have the same problem as @ashish173. When the server pulls everything together it will break.

nikhil-batra commented 7 years ago

Still having this problem.