What version of AngularJS are you running? I imagine you’d be coming across $sce ( https://docs.angularjs.org/api/ng/service/$sce ) issues by using the rendered content.
In particular, you might want to investigate $sce.trustAsHtml ( https://docs.angularjs.org/api/ng/service/$sce#trustAsHtml )
Dig into these links, they might be helpful.
-
This reply was modified 9 years, 2 months ago by BMO.