I did this before: click the "download" button, and the backend will return the file address, then change the value of downloadUrl to download successfully
<a class="link" href="{{downloadUrl}}" ng-click="download()"></a>
is there any other way? I always feel so stupid.