With the help of this blog http://www.cheynewallace.com/uploading-to-s3-with-angularjs/ I did manage to upload the files of smaller size (<30MB) to the s3 bucket. But while uploading a bit larger file (above 30MB) I am facing some issue.
error:Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at 'https://s3.amazonaws.com/**' (Reason: CORS request failed).
I am getting this error in the middle of file uploading i.e,initially it starts uploading ,but later (say after 15% or 18% uploaded) it is firing the CORS error and the uploading of file again starts from 0%
I am very new to AWS S3. Please correct me if I am asking anything wrong.