In an Angular2 app, I\'d like to use ajax to retrieve a html tag string from back-end and use it as template in Angular2.
// The str I get from server by ajax i
I think you can send this particular html as a template in a component like this
angular.module('MenuApp') .component('itemset1', { templateUrl: '', });