Fixing Bug 1024087

$scope.changeBg(range.value);