I want to list all the files in <a></a>
when clicking it we need to download it from the corresponding folder.
I tried the following code
<div ng-repeat="file in files">
<a download="{{file.name}}" href="/path of the file">{{file.name}}</a>
</div>
How can I achieve this?
Can anyone help me?