0

I have a requirement to read a file path from a database column and display the contents in a popup using Angular. The files can be of type image, pdf , video etc. The files path will have filenames that can be accessed remotely /locally.

SDN
  • 1
  • 1
  • Welcome, please read [how to ask](https://stackoverflow.com/help/how-to-ask) for better results. – Phix Mar 18 '21 at 21:45
  • Angular should never have direct access to database (unless you use IndexedDB). You need API for that. – Bojan Kogoj Mar 18 '21 at 22:27
  • I do have an API to handle that part. I need to know how to access the file content after getting fetching the path name .The file could be image / text/ pdf etc – SDN Mar 19 '21 at 16:30

0 Answers0