my html code is :
<select ng-model='refresh_rate' ng-change="onRefreshRateChange()">
<option value='10000'>10</option>
<option value='30000' selected>30</option>
<option value='60000'>60</option>
<option value='180000'>180</option>
<option value='300000'>300</option>
</select>
and in my angular controller is :
var intervaL = $interval(function(){
//[here]
//after run every times i want update delay to $scope.refresh_rate
}, $scope.refresh_rate);
see this line in top code : //here i want update delay time to $scope.refresh_rate
now i want a code that put it Instead of this line