Tuesday, January 19, 2016

how to passing data between two variable scopes in Angular JS

<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) {

}

No comments:

Post a Comment