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

Not deleting scopes

epicleptico opened this issue · comments

I faced an issue related to not destroying the scope related to the elements implementing new directives.

I think that i can make a plunkr about that but as basis when you have a directive inside the markup compiled and you change whole html text directive will be created again and will not be destroyed properly.

Related PR: #27

@wytrych I am also facing the same problem. Can you help merge this PR? Thanks