I have now tried things like this
$sce.trustAsHtml('<div dynamic="htmlString" 
ng-controller="CommentsCtrl">dddzzz</div>');
Adding a controller or anything is moot as this is post bootstrap- so we 
need to ask to recompile 
something like this
$compile($sce.trustAsHtml('<div dynamic="htmlString" 
ng-controller="CommentsCtrl">dddzzz</div>'))($scope);
this gives me an html object that I am not able to add to the node - I am 
not using JQuery and so tried using angular.element which I couldnt get to 
work...

I think I am on the right track. In the above after using compile I can see 
that my directive ('dynamic' directive)  link function is now happening at 
least but I am still not able to render this..

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to