####Использование контролов в вёрстке
Шаблон компонента "MyComponent"
<span>{{variable}}</span>
var html = '<div><component data-component="MyComponent" variable="321" /></div>'
tmpl.template(html).handle(function (ast) {
tmpl.process(ast, {}); // Результат работы <div><span data-template-id="bd1e70bd-d2ad-52ba-b0f5-7f93aa7be1f7">321</span></div>
});