angular-carousel2
v0.2.0
Published
A carousel directive for angular
Downloads
3
Readme
angular-carousel2
A carousel directive for angular
Installation
npm i -S angular-carousel2
Demo
http://homerjam.github.io/angular-carousel2/
Example
Include
angular-carousel.js
in your projectAdd
hj.carousel
to your app dependenciesAdd and customise the CSS from
example/style.css
Add directive to your template as below, see available options near the top of the source file
<div hj-carousel="slide in vm.slides" hj-carousel-options="vm.options">
<div class="slide">
<img src="{{slide.src}}" />
</div>
</div>