This plugin was mostly put together quickly with the intent of using something that worked. It has zero test coverage, and range sliders do not work. It is, however, registered on bower as angular-bootstrap-slider
. Just include slider.js
and use the package ui.bootstrap-slider
.
See bootstrap-slider for examples and options.
<!-- it can be used as an element -->
<slider ng-model="sliders.sliderValue" min="{{testOptions.min}}" step="{{testOptions.step}}" max="{{testOptions.max}}" value="{{testOptions.value}}"></slider>
<!-- ..or an attribute -->
<span slider ng-model="sliders.secondSliderValue" min="{{minTest}}" slider-id="{{idTest}}"></span>