NGX Download Directive Add ngx-download to a link, and it will trigger a download of the file referenced in the link's href. <a href="myfile.txt" ngx-download>Download</a>