fix #1

https://github.com/darul75/ng-slider/issues/1