Raja G Raja G - 1 year ago 106
AngularJS Question

How to open word/Excel/PDF files when click a link in angularjs?

I want to open a file (like word, excel, pdf) from my code in
angularjs? How?

Answer Source

Just use html link

<a href=".. /relativePath/file.xls"  />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download