Hi All,
Many thanks for the help.
I ended up using a link function and injecting the compile service. So basically, I tell angular to compile each time I modify the template in the link function.
Well all is clear now except that my widget is still not working but that's probably something else. The debugger doesn't show me anything so might be a mere css problem (I hope).
Good thing is that by using the link function, I was dealing with an object from the begining and not strings (as happens while manipulating dom in compile function). Easier to extract data from.
So basically it is a lot of $compile(dom_or_html_or_jQueryobject)(scope);.
Thanks again for your help really appreciated.