Vern, if I'm not wrong you can use
<directive [inner-html]="yourExprContent"></directive> I remember seeing it once in the group, so I'm not entire sure. El lunes, 31 de agosto de 2015, 23:30:56 (UTC-3), Vern Jensen escribió: > > I have Angular 1 code I'm porting to Angular 2 that uses ng-bing-html, in > combination with $sce.trustAsHtml(), to inject HTML into a page. > > In addition, my Angular 1 code has a custom Directive that compiles the > HTML, so that I can use Angular directives within the HTML that I am > injecting. > > What is the equivalent for all of this in Angular 2? > > -Vern > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
