I have a strange issue when using $compile(element)(scope) to bind some data to a dom element manually.
Please check the example code here.
In the example preview, when you click the button "Bind Template", the template is compiled with some data and rendered into a dom element. But when the button is clicked again, only the template is shown. Any idea what could be the problem here.