darul75 / angular-awesome-slider

:arrows_clockwise: Angular slider control directive
http://darul75.github.io/angular-awesome-slider/
MIT License
144 stars 63 forks source link

Bug with disable #72

Closed axelprog closed 9 years ago

axelprog commented 9 years ago

Disable feature doesn't work if scope field for disable not named as 'disabled' See there https://jsfiddle.net/w0qmnw3k/2/ add button for enable disable and for first slider set ng-disabled="testdisabled". So add $scope.testdisabled = !$scope.testdisabled; to disable function