Angular JS generating PDF - any creator - maker modules?

Stweet picture Stweet · Jan 21, 2015 · Viewed 41.1k times · Source

As title says, is there any PDF creator / generator for Angular?

I have seen https://github.com/MrRio/jsPDF, but can't find any for Angular. I want to make an html page to a pdf file for download.

Answer

Enzey picture Enzey · Jan 21, 2015

You can wrap the JavaScript project you mentioned into a service that you call throughout your app. This is actually a rather standard practice and it also isolates your code if you ever need to change the underlying implementation .