Question: how to pass data from child controller to parent controller in angularjs?
Answer: With one Button and text box in each controller. So when give some value in Parent Controller text box and click parent button data. Pass to child controller and when give some value to child controller and click child button data pass to parent controller. Now let's start coding.