3 ms·
It can certainly be applied, as long as you can pass an html string to your template engine. For example, with Ember.js you could use Ember.Handlebars.compile t
by fxenik 12y ago
It can certainly be applied, as long as you can pass an html string to your template engine. For example, with Ember.js you could use Ember.Handlebars.compile to create the view based on the html you get with requirejs.
- biton13 12y agoand I suppose it is the same for Angular? I prefer it as oposed to Knockout
- fxenik 12y agoYes, I believe you can, though I'm not very experienced with Angular. Check this post: https://coderwall.com/p/mgtrkg/variable-templates-for-an-angularjs-directive https://coderwall.com/p/mgtrkg/variable-templates-for-an-ang... Why would you prefer Angular over Knockout?