Directives uses link function to modify the DOM.
On Fri, Mar 21, 2014 at 2:20 PM, Bhuwan Arora <[email protected]>wrote: > The problem is solved. I shifted the code from controller to the link > function in directive and everything started to work..though I wonder why? > > > On Friday, 21 March 2014 10:59:31 UTC+5:30, Bhuwan Arora wrote: > >> I have created a directive that creates a flipbook using turn.js(which >> needs jquery). But none of the angular-directive(ng-click, ng-mouseover >> etc) works inside the flipbook html which is although getting rendered >> properly. Even the jquery bindings for click, mouseover etc are not >> working.. >> >> What is happening? >> >> How to debug this 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. > -- Thanks and Regards, Gaurav Sharma -- 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.
