I created a html table using angularjs. I am able to download the document as pdf using pdfmake and html2canvas based on this question:
Generate PDF from HTML using pdfMake in Angularjs
The document layout is nice and everything works fine until it comes to documents that goes beyond a single page. In that case the pdfmake generates a blank (2 pages) pdf document.
How can I handle the generation of a multipage document with pdfmake and html2canvas?