Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Calling a function in once-html #36

Open
aralroca opened this issue Sep 23, 2015 · 1 comment
Open

Calling a function in once-html #36

aralroca opened this issue Sep 23, 2015 · 1 comment

Comments

@aralroca
Copy link

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

once-html="Sanitize(text)"

@aralroca aralroca changed the title Calling a function with once-html Calling a function in once-html Sep 23, 2015
@pbassut
Copy link

pbassut commented Nov 14, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants