162
rated 0 times
[
163]
[
1]
/ answers: 1 / hits: 83499
/ 11 Years ago, tue, june 4, 2013, 12:00:00
I have two controllers, one wrapped within another. Now I know the child scope inherits properties from the parent scope but is there a way to update the parent scope variable? So far I have not come across any obvious solutions.
In my situation I have a calendar controller within a form. I would like to update the start and end dates from the parent scope (which is the form) so that the form has the start and end dates when submitted.
More From » angularjs