I’m have a .html file in my private folder and I am trying to access it on the client.
In that file there are some Spacebars.
On the server I can simply do:
SSR.compileTemplate('invoice_comp_tmpl', Assets.getText('file.html'));
```
```
var html_string = SSR.render('layout', {
css: css,
template: "invoice_comp_tmpl",
data: data
});
```
I know about ```Blaze.toHTMLWithData(Template, data)```.
But I can't get it to work.
Any Ideas?