Update slider.js

In order to have attrs.ngModel updated when some clic on the bar