FAQ
To get the demo code go to projects page .
I used moment.js to get date and format it documentation is available there
To know that check out the function printContent() in invoice.js file!
I added html2pdf.js lib and used function generatePDF() to generate the invoice !
Of course you can ,just add style display: none; in the invoice div and move the print and Export as PDF button outside the invoice div