Za budową stringów template'u w dyrektywie w: http://toddmotto.com/killing-it-with-angular-directives-structure-and-mvvm/ Alternatywa za: http://blog.xebia.in/2015/09/12/do-more-with-less-javascript/
//lame
var template = '<div></div>';
//nice
var template = [
'<div>',
'</div>'
].join('');
//even better
var tpl = ''.concat(
'<div class="firstname">',
'{firstname}',
'</div>'
);