For passing data between parent to child, please refer => https://www.tutespace.com/2016/03/angular-js.html
On Wednesday, 16 May 2012 00:50:04 UTC+5:30, Alexander Wilms wrote: > > All, I am working on a dashboard that includes several "modules" with > different contents, e.g. users tasklist, users calendar etc. The dashboard > itself has a navigation menu and some additional features. Each module is > implemented as it's own controller and template, so they can be re-used in > other pages of the same application. So the app structure is like: > <MainController with navigation menu and app header> > <TasklistController/> <CalendarController/> <OtherControllers/> > </MainController> > Now I'd like to some data from the "child modules" to be displayed in the > parent controller, e.g. show the number of tasks in the app header. While I > found some posts describing how to inherit data from the parent to the > child controllers I'd like to have it the other way round. How can that be > achieved? (I am both a newbie to Angular and a designer, not a developers, > so please keep it simple :-) > Thanks so much, > Alex > -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.