ngBindHtmlUnsafe
(directive in module ng
)
Creates a binding that will innerHTML the result of evaluating the expression
into the current
element. The innerHTML-ed content will not be sanitized! You should use this directive only if
ngBindHtml directive is too
restrictive and when you absolutely trust the source of the content you are binding to.
See $sanitize docs for examples.
<ANY ng-bind-html-unsafe="{expression}"> ... </ANY>as class
<ANY class="ng-bind-html-unsafe: {expression};"> ... </ANY>
ngBindHtmlUnsafe – {expression} –
Expression to evaluate.