How can I use two different controllers in the same div
element?
How does one access the parent controller model data from inside a child controller?
e.g
<div ng-controller="abc">
<div ng-controller="def"><span>{{name}}</span></div>
</div>
Suppose the model name
is in controller abc
then how does one access its value?