I am working on an application in which I need to upload a file using Golang and Angular 4.Suppose I have an input type file and an upload button on the screen. When I browse a file from my system and clicks upload button.Now following are my queries regarding file upload:
1. How will angular process the file at front end?
2. If it processes the file then what it will return to the rest api as data.
4. Can file be uploaded via angular script and it will give download url to rest api?
5. The uploaded file should not be executable.