Scope inheritance in Angular
问题 I'm new to Angular, so I'm trying to follow tutorial and just don't get it.What confuses me is the dot notation: <div ng-app=""> <input type="text" ng-model="data.message"> <h1>{{ data.message }}</h1> <div ng-controller="FirstCtrl"> <input type="text" ng-model="data.message"> <h1>{{ data.message }}</h1> </div> <div ng-controller="SecondCtrl"> <input type="text" ng-model="data.message"> <h1>{{ data.message }}</h1> </div> </div> Typing a value inside any of the input boxes will update all the