angularjs-pdf
angularjs-pdf copied to clipboard
Isolated scope
Hello @dennybiasiolli @NicoBurno, sorry for the long delay!
As I've seen no progression on this ( no pun intended! ), and I had a Torino OpenSource Saturday to spend on this, here is my implementation for the isolated scope.
This is a full refactor of the previous implementation :) All features are preserved ( apart custom http headers ).
The refactor is based on a factory object, which creates an object that can be used to manipulate the viewer status.
Please have a look and ask questions!
The NgPdfFactory
should be more appropriately named NgPdfViewer
.
Thanks!
@*dennybiasiolli *as this is a complete new version, may I propose to remove phantomjs and instead use the new chrome headless?
@endorama yes, it's a good idea