reuse download method in angular 6 code example
Example: showing file download progress in angular
<a [href]="download.url" target="_blank" rel="noopener noreferrer">
{{ download.filename }}
</a>
<a [href]="download.url" target="_blank" rel="noopener noreferrer">
{{ download.filename }}
</a>