Fixing Bug 1024087

$scope.changeBg(e.target.value);