Ionic2 Dynamic HTML Binding

First off, it’s an Angular issue, not an Ionic issue. Secondly, I originally also thought it was a big deal, but it’s so challenging to use things like ng-bind-html and $compile in a secure manner that now I’m actually glad that Angular2 doesn’t let me lean on that particular crutch. I think there’s probably a way for you to do roughly what you want using only *ngFor and custom directives, managing the custom stuff as an iterable in the controller. It’s hard to be more specific until you share more details about exactly what you are trying to achieve.

1 Like