Zapisz ciąg podstawowy 64 na pliku
<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>