<div ng-app>
<input type="text" ng-model="name">
<div ng-repeat="i in [1]">
<input type="text" ng-model="name"><br/>
First scope:{{name}}
</div>
Second scope:{{name}}
</div>
function TodoCtrl($scope) {
}
<input type="text" ng-model="name">
<div ng-repeat="i in [1]">
<input type="text" ng-model="name"><br/>
First scope:{{name}}
</div>
Second scope:{{name}}
</div>
function TodoCtrl($scope) {
}
No comments:
Post a Comment