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

0 is not accepted in custom labels for scale #141

Closed lbayerl closed 8 years ago

lbayerl commented 8 years ago

try options.scale: [{val: 0, label:'low'}, {val:50, label:'medium'}] and you will notice that 0 is not an accepted val even if from 0 to 100 (e.g.) resulting in 'object'. Wanted to create a fiddle but obviously the fiddle version itself seems outdated.

darul75 commented 8 years ago

reproduced

lbayerl commented 8 years ago

Thanks for reacting so quickly!