Convert Angular HTML and Jade templates to $templateCache JS