Slider to ng-model and apply buton fix