Hi, I am facing problem with event handling insie ng-include template.
I can able to access events from parentcontroller from inside ng-include template. (ex: http://plnkr.co/edit/h4BF0d?p=preview) But in my real application..I have included output.html in index.html using ng-include, in output.html I have included one more alert.html inside one div, where as this alert.html is hidden by default.(Besides I'm overwriting the window.alert method for my custom UI in alert dialogue) When i click button on output.html I'm sending whole alert.html parent div html with jquery to my custom alert method. * alert(angular.element(document.querySelector( "#divHtml")).html(), "Title");* In this case I'm not able to fire the events from alert dialogue. Please suggest me what could be the problem. -- 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.
