thank you sir Le samedi 10 mai 2014 21:27:40 UTC+2, Rishi Tandon a écrit : > > Try $timeout and delay the execution of dir2 link function. > > > On Sat, May 10, 2014 at 3:22 PM, maxim couton > <[email protected]<javascript:> > > wrote: > >> >> Hi, >> I have an issue with angular directives: >> >> Let's imagine I have two directives dir1 and dir2 , I'd like to use >> them like this >> >> >> >> >> * <div dir1> <div dir2> </div> <div>* >> >> My problem is that the link function of dir2 gets executed before >> the link function of di1. >> >> So , I wonder if it is possible to make link function of di1 runs >> before dir2's link function ? >> >> I Tried directive priority but from what I have seen they are not >> adapted to my case. >> >> Thanks, >> >> Maxim >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Rishi Tandon* > Pearson Learning Technology Group > > Mobile: (310) 926-9032 > > Pearson > Always Learning > Learn more at www.pearson.com >
-- 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.
