I'm generating a word or pdf file from a backend, passing the word file into a byteArray or base64 format to the backend. This file is stored into a outside of the angular folder. i.e., D:/drive.
I have to display the word of pdf file into the webpage. It's not working because it's the file is outside of project folder.
Is there any other way to access the files that is outside of the angular project?
I have tried different formats of files coming from the backend.
I have implement ngx-exnteded-pdf-viewer, ngx-doc-viewer, iframe everything but nothing gives a solution to my problem.
My only confusion is how to access the files outsid of the project folder.