Hi Ocajian,
If you add new raw html to your page that contains angular directives, you should $compile that. Before or after inserting the part your contentDiv.innerHTML contains a angular directive (ngClick). However, angular is not aware of this template. Hence, the ngClick does not fire. As you are learning, I think it's a good idea if you try to figure out how to solve this on your own. Have a go at it, look at the $compile docs. If you get stuck, come back, and ask for help, We will try to coach you. 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/d/optout.
