angular-once icon indicating copy to clipboard operation
angular-once copied to clipboard

Calling a function in once-html

Open aralroca opened this issue 9 years ago • 1 comments

Calling a function in once-html that return the context is not working.

once-html="Sanitize(text)"

aralroca avatar Sep 23 '15 06:09 aralroca

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.

pbassut avatar Nov 14 '15 17:11 pbassut