Antoine's solution is pretty good. The only thing I might suggest though is using some type of iterator, which will scale to a larger number of child check boxes.
On Thu, Jan 23, 2014 at 10:10 PM, Pushpendra Kumar <[email protected]>wrote: > Thanks Antoine for reply. > > Its manual way to achieve, I am looking for the way that is simple and by > angular. > This way would be problematic if child check boxes are 20 or more. > > > Pushpendra > > On Thursday, 23 January 2014 20:10:17 UTC+5:30, Antoine Polatouche wrote: >> >> Le 23/01/2014 14:05, Pushpendra Kumar a écrit : >> > Hello All, >> > >> > Can we update the value in model of all child checkboxes >> > on master checkbox selection. >> > I want checked value for all child check boxes, while all >> > child check boxes are checked by master checkbox. >> > >> > My jsfiddle is as: http://jsfiddle.net/v4epk/5/ >> http://jsfiddle.net/uxkU7/3/ >> >> -- > 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. > -- 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.
