Please tell where to specify the upload_preset and also help with the image uploading part.
let options : FileUploadOptions = {
params:{'upload_preset':'preset1'},
}
const fileTransfer: FileTransferObject = this.transfer.create();
fileTransfer.upload('assets/demo.jpg',
'https://api.cloudinary.com/v1_1/dvkvdp0bp/image/upload', options,true)
.then((data) => {
alert('DONE!');
}, (err) => {
// error
})