I am working on a web page where user need to upload files and send them along with some message.. First thing i noticed is when we want to upload a file or send an attachment(single or multiple) we need to use below line of code:
<input type = "file" name="file" file-model="file" multiple/>
With the above code when user is selecting more than one file it is not showing the file names on the webpage instead showing 2 files if 2 files are selected. I want to show the file names and user should able to delete the file before sending if he likes to remove it before submitting the form(just like we do in email attachments).
sample plunker : https://plnkr.co/edit/Le6edwhX3Bye6E2XwIhd?p=preview
Any inputs on how to do it using angularjs.