Ajax image upload crop. Ionic Image Crop with CropperJS