incuna / angular-bind-html-compile

Directive that calls $compile on trusted HTML, allowing directives in an API response.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do you pass a calling scope? I know it's in the bindHtmlScope attr, but how to use it?

miguelcastro67 opened this issue · comments

Hey, nice job on this, btw. It's been incredibly helpful.
How do I pass in my own scope variable? I know it's in the bindHtmlScope attr, but how do I use it? Basically I have a child scope I created, but I'm not sure how to pass it into this directive so it lands in the bindHtmlScope variable.
Thanks