I have two nested controller in angularjs, and want to use ng-model from outer in inner controller. Suppose this
<div ng-controller='outController'>
// data.Name : from outer controller
<div ng-controller='innerController'>
<input type="text" ng-model='name' ng-init='name=data.Name'>
{{data.Name}} // display this scope value
</div>
</div>
data.Name
value display in html page but not bind to name ng-model.
How to bind this value to inner ng-model?