Angular JS / Spring : create a custom pdf

I’m using Angular JS with Spring via Jhipster.

I dispay some data in a page. I want to create a pdf with a header page, then some page with my table data (header + content + footer custom).

Is there a good library for this ? Should I do in the JS or Java for more customization ?

Thanks for your advice.

Source: AngularJS