title: multidimensional array in angular
body: <p>I have a multidimensional array from an API. Is it possible to programatically loop through the array?</p>
  
  <pre><code>{
      success: true,
      categories: [{
              cat_id: "2",
              name: "This is category One",
              description: null,
              photo_url: "/img/test.png",
              order: "1",
              items: [{
                      item_id: "1",
                      title: "Desk",
                      item_url: "/690928460",
                      photo_url: "/desk.png",
                  }, {
                      item_id: "2",
                      title: "Chair",
                      item_url: "/18882823",
                      photo_url: "/chair.png",
                  },
              }]
      }]
  }
  </code></pre>
  
  <p><strong>My controller looks like this:</strong></p>
  
  <pre><code>myApp.controller('items', function($scope, $http, $location, Data) {
      var apiUrl = '/api/items';
      $http.get(apiUrl).
      success(function(data) {
          $scope.data = Data;
          $scope.allData = data;
      });
      $scope.changeView = function(view) {
          $location.path(view);
      }
  });
  </code></pre>
  
  <p><strong>Angular index file just has: <code>&lt;div ng-view=""&gt;&lt;/div&gt;</code></strong></p>
  
  <p><strong>View file</strong></p>
  
  <pre><code>&lt;div class="scrollable categories-container animated-fast slideInUp"&gt;
      &lt;div class="container categories"&gt;
          &lt;div class="row" ng-repeat="categories in allData"&gt;
              &lt;div class="col-xs-6" ng-repeat="category in categories"&gt;
                  &lt;div class="items"&gt;
                      &lt;div class="title"&gt;
                          {{ category.name }}
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I can loop through the category names fine, but when trying to return items <strong>for EACH</strong> category I don't understand the logic behind it...</p>