Thanks Sander this is much cleaner and looks obvious now ! you rock ! So the trick is :
1) wrap your HTML in a angular.element 2) add it to DOM 3) then $compile it Thanks a ton ! Julien On Monday, February 10, 2014 11:48:09 AM UTC+1, Sander Elias wrote: > > Hi Julien, > > There was something about this still nagging in my mind, so I took > another look. > I thinks this plunk <http://plnkr.co/edit/jxcSYmTctqVcWl0rpM5J?p=preview>has > a cleaner solution to the problem. > > Regards > Sander > -- 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/groups/opt_out.
