Create directive.slider.js