Salvar a base Base 64 no arquivo
<a [href]="'data:application/octet-stream;base64,' + data | safe" download="excel.xls">Download</a>
Magnificent Macaw
<a [href]="'data:application/octet-stream;base64,' + data | safe" download="excel.xls">Download</a>