You should use pre-compiled client templates. They are faster executing and allow you to use the same template language on the server and client.
- Install handlebars globally
npm install handlebars -g - Precompile your templates
handlebars client-template1.handlebars -f templates.js - Include templates.js
<script src="https://stackoverflow.com/questions/10037936/templates.js"></script> - Execute the template
var html = Handlebars.templates["client-template1"](context);
https://stackoverflow.com/a/13884587/8360