Hi, I had a ID field in my directive. Previously it was a string. But it created problem when I use the directive inside ng-repeat. The problem, is whenever I change the id field in base app, the value is not getting updated inside the scope of directive, because it is not two way bound. Hence I changed it to =. Now , I should change it at all the places where the directive is used in base app. At some places it is not required to do so (the directive is not inside ng-repeat). If there is such option in directive, it would reduce my time.
Regards, Sankar On Monday, May 29, 2017 at 10:43:19 AM UTC+5:30, Sander Elias wrote: > > Hi, > > Probably this is possible. But why? Before I answer I want to hear your > use-case. I think you are trying to solve the 'wrong' problem. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
