each input clear can be handled in its own respective clear directive - Use Isolated scope if you don;t want to inherit the PARENT scope
On Wed, Mar 11, 2015 at 1:26 PM, Anurag Sharma <[email protected]> wrote: > Hello everyone, > > I am currently implementing directive chain for clearing out child element > values when user modifies the parent element value. > > I have a single directive which handles it completely within itself, but > to use AngularJS declarative feature I would like to manage this whole > functionality within multiple directives such that each input clear can be > handled in its own respective clear directive. > > I tried implementing event broadcast and pub / sub implementation, Is > there any optimal solution for the same? > > -- > 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. > -- *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.
