directive for eyecon bootstrap slider
Include the file and import the angular ecSlider angular module.
bower install angular-eyecon-bootstrap-slider --save
angular.module('myModule', ['ecSlider']);
<ec-slider ng-model="myCtrl.val" // value
config="myCtrl.sliderConfig" // jquery plugin config object
ng-change="callMeOnChange" // optional change callback
ng-disabled="myCtrl.disableIfTrue"> // disable when true
</ec-slider>
The config options are those passed directly to the slider jquery plugin. The directive will re-init if the config changes.
Destruction of scope will call slider('destroy').