There is a slider on angular'e:
<div style="width: 200px;"> <md-slider flex min="0" max="260" ng-model="tax[id]" id="tax[id]" class></md-slider> <input flex type='number' ng-model="tax"> </div>
Tell me how to transfer the slider data (number) to the JS function? Finding in the controller? I need to perform actions when shifting the slider. Given that ng-model="tax[id]" id="tax[id]" , id random numbers.