Ionic 2: evaluate string as template


#1

With a piece of code like this:

the template will render fine html tags, such as , etc…

But is it possible to use Ionic markup?

Example:

this.somemarkup = “item 1item 2”;

won’t render an ionlist with the proper markup (the ionic engine replacesthe ion-item tag with divs, add some css classes to them, etc…). Is there any way to force the Ionic to “evaluate” some string as an template?