ngCropper
ngCropper copied to clipboard
cannot upload new images again and again
once uploaded the Image there is now way to upload another image.
i am also facing the same issue.. any solution for this?
may seem stupid, but it works for me
$scope.onFile = function(blob){
if(blob){
$scope.dataUrl = undefined;
$timeout(function(){
Cropper.encode((file = blob)).then(function (dataUrl){
$scope.dataUrl = dataUrl;
$timeout(showCropper);
});},100)
}
};