ng-bind-html-unsafe was removed in Angular 1.2

I’m trying to implement something where I need to use ng-bind-html-unsafe. In the docs and on the github commit they say:

ng-bind-html provides ng-html-bind-unsafe like behavior (innerHTML’s the result without
sanitization) when bound to the result of $sce.trustAsHtml(string).

How do you do this?

10 Answers
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *