I have this slider :
<md-slider step="5" min="15" max="120" ng-model="tempo" aria-label="red" id="red-slider" class="">
</md-slider>
I did not get a legal way to know when the user changes the slider, I worked like this:
$scope.tempo = 25;
$scope.tempo_final = '15 Min';
$scope.$watch(
function(tempo) {
console.log($scope.tempo);
}
);
But the return of this function is not interesting, even more that I'm going to throw this value into a bank, so would you have any way to tell when this slider changes?
I use AngularJS v1.3.15 if I indicate another version for this method, I can change it.