angular-once
angular-once copied to clipboard
Calling a function in once-html
Calling a function in once-html that return the context is not working.
once-html="Sanitize(text)"
While your issue is not resolved. You could workaround this by first using ngInit to initialise a variable with the return of Sanitize(text) and then reference it on onceHtml directive.