diff --git a/slider.js b/slider.js index 62923ac..9e59b59 100644 --- a/slider.js +++ b/slider.js @@ -163,7 +163,9 @@ angular.module('ui.bootstrap-slider', []) var fn = $parse(attrs[sliderEventAttr]); slider.on(sliderEvent, function (ev) { if ($scope[sliderEventAttr]) { - fn($scope.$parent, { $event: ev, value: ev }); + $scope.$apply(function () { + fn($scope.$parent, { $event: ev, value: ev }); + }); } }); });