create a well-aligned pdf output from json data in angular