Hi ! I found the solution ! in fact,this is not exactly like you explain me,all directives are not compiled at the same time,there is a priority ! have a look in this doc : http://docs.angularjs.org/guide/migration#directive-priority now http://plnkr.co/edit/EtfPhAVisJv4h1DL9sJU it's working !
thanks for your help ! Le mardi 18 février 2014 15:25:53 UTC+1, Sander Elias a écrit : > > Hi Alexandre, > > I understood it was sample code. The problem stays the same. > What you can do, is what I told you. > 1. change your directive, so it does it's work at the compile phase, > instead of during link. > 2. don't use ng-if > > 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/groups/opt_out.
