Open local HTML file and compile it

So, my goal is to open page in FW7 application and before it shows to user I would like to include some additional templates which will be different to different pages. So, I need to retrieve some data from server, then retrieve HTML template, compile it with Template7 and, at last, populate compiled template with data and add it to DOM.

I can see two ways of doing the first step - first to retrieve HTML from server by app.request.get(). Second way is to open file from app folder, but as far as I can understand if I have, let’s say, 200 templates, they all will be included to bundle? Can I use some lazy load in this case or just use my first solution? Thank you.