I am learning Angular JS and I have something like this with a parent controller and child controller:
<div ng-controller="MainCtrl">
<p>Good {{question}}</p>
<div ng-controller="ChildCtrl">
<p>Good {{answer}}!</p>
</div>
Bind the Child Controller's scope and show here: {{ answer}}
<div>
Here the child controller is using the scope like this:
$scope.answer = response.answer;
How do I show the {{ answer }} outside the child controller and inside the parent controller?