angular-slick | Angular directive for slick-carousel

angular-slick directive


Stars : 10

Forks : 10

Created by Vasyl Stanislavchuk

bower install angular-slick

Demo Download GitHub


Angular directive for slick jquery carousel. Demo is here.


  • Install: bower install angular-slick
  • Add jquery, angular, slick-carousel and angular-slick to your code:
<link rel="stylesheet" href="bower_components/slick-carousel/slick/slick.css">
<link rel="stylesheet" href="bower_components/slick-carousel/slick/slick-theme.css">
<script src="bower_components/jquery/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/slick-carousel/slick/slick.js"></script>
<script src="bower_components/angular-slick/dist/slick.js"></script>
  • Add a dependency to the slick module in your application.
angular.module('MyApp', ['slick']);
  • Add a slick element to your html:

<slick infinite=true slides-to-show=3 slides-to-scroll=3>

<slick dots=true infinite=false speed=300 slides-to-show=5 touch-move=false slides-to-scroll=1>
  • For initialization carousel after data is loaded use init-onload property. Example:
<slick init-onload=true data="awesomeThings">
  • If you wanna read about possible settings, go here.

That's it!


Javascript plugin