Generate PDF in Angular 2




First of all you need to install following javascript libraries:

Then add following in angular-cli.json:

Create a component

html:

component ts:

Share This: