阅读背景:

在AngularJS中,如何删除使用$ compile创建的元素?

来源:互联网 

I've written a simple example, where I create an element dynamically using $compile. This new element has another button, with which I want to remove this element (I've read that it is good to destroy scope/elements to avoid leaks). But the function closeThisElement() is not working; please help.I've written a simple example, where I create a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: