i have one question about image uploading.
Maybe i do something wrong?
$scope.photoChanged = function(files) {
$scope.files = files;
var reader = new FileReader();
reader.onload = function(e) {
$scope.imagecontent = e.target.result;
if (!$scope.$$phase) {
$scope.$apply();
}
};
reader.readAsDataURL(files[0]);
};
here i try to upload image into browser and view it (also then i use crop tool), but for huge images, for example as this: https://dl.dropboxusercontent.com/u/59666091/Fronalpstock_big.jpg
in IE (and not only in IE) this take a while, when i see image on the page
maybe there are some ways to speed up my fileuploading?
here you can test it: http://plnkr.co/edit/co6gFGe6pig3DCF9GQp1?p=preview