title: ng-repeat in $scope.array of $scope.array of obeject
body: <p>I want to display these array in a table. One row, then two columns, one row, then two columns etc</p>
  
  <p>The array looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/x3MWj.jpg" alt="enter image description here"></p>
  
  <p>How do I run through thess arrays to display the attributs in a table?</p>
  
  <p>The chunking is like this:</p>
  
  <pre><code>        function chunk(arr, len) {
          $scope.array = arr;
          var chunks = [],
              i = 0,
              n = $scope.array.length;
  
          while (i &lt; n) {
              chunks.push($scope.array.slice(i, i += len));
          }
  
          return chunks;
      }
  </code></pre>
  
  <p>The $scope is created like this:</p>
  
  <pre><code>$scope.criteriasearchprofiles = chunk(dataResponse.data, 2);
  </code></pre>