I want to generate dynamic PDF\'s from templates written as angular components. For that I\'m using puppeteer in my backend, which, for generating PDF\'s only accepts string