darul75 / angular-awesome-slider

:arrows_clockwise: Angular slider control directive
http://darul75.github.io/angular-awesome-slider/
MIT License
143 stars 63 forks source link

How to get current value in template ? #137

Closed flug closed 8 years ago

flug commented 8 years ago

I am trying to overload the template to fit the design and I try to find the slider value ?

darul75 commented 8 years ago

the slider value(s) ("to" for slider with 2 pointers) is contained there but as it also contains the dimension string label (km, meters) you choosed https://github.com/darul75/angular-awesome-slider/blob/master/src/core/template/slider.tmpl.js#L22

here for pointers https://github.com/darul75/angular-awesome-slider/blob/master/src/core/template/slider.tmpl.js#L18

flug commented 8 years ago

hum ok Thx :+1: