sayanee / angularjs-pdf

:page_facing_up: An AngularJS directive <ng-pdf> to display PDF files with PDFJS
http://sayan.ee/angularjs-pdf/
MIT License
494 stars 248 forks source link

put a download button on the top nav #144

Closed PManager1 closed 7 years ago

PManager1 commented 8 years ago

how easy is it to put a download button on the top nav bar so that user can download the pdf to their device using angularjs-pdf ?

RODOBTA commented 7 years ago

You can do it directly on the server code, at least I did it that way, from the client I access through a button that links to a web API that is responsible for making the download process.

dennybiasiolli commented 7 years ago

@jpca999: as @RODOBTA says, you can do it directly on the server code