I also had to deal with this problem, and after hours of searching the internet, I read @Chandermani's comment, which turned out to be the solution. You need to call the "compilation" directive using this template:
HTML:
<div compile="details"></div>
JS:
.directive('compile', ['$compile', function ($compile) { return function(scope, element, attrs) { scope.$watch( function(scope) {
Here you can see the worker.
vkammerer Jul 02 '13 at 13:14 2013-07-02 13:14
source share