Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<body data-ng-app="app">
  <div data-ng-controller='MyCtrl'>
     <div data-ng-repeat="x in xx">
       <div data-ng-repeat="y in yy">
            <input type="text" data-ng-model="data[x][y]">
       </div>
       <br/>
    </div>
    <button data-ng-click="show()">Show Data</button>
  </div>
  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
  <script>
    var app = angular.module('app', []);
    app.controller('MyCtrl', function($scope) {
      $scope.xx = ['a', 'b', 'c', 'd'];
      $scope.yy = ['A', 'B', 'C', 'D']; 
      $scope.data = {}; 
    
      $scope.show = function(){
        console.log($scope.data);
      };
    });
  </script>
</body>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers