reload></core-image>
        <div>{{model.caption}}</div>
        <div>Group: {{groupIndex}}, Item: {{groupItemIndex}}</div>
      </div>
    </template>
  </core-list>
</template>
<script>
(function() {

  Polymer('list-test', {
    ready: function() {
      window.list = this.$.list;
      var flat = false;  // Switch to test flat vs. nested
      var nestedData = flat ? null : [];
      var data = [];
      var groups = [];
      var gidx = 0;
      var gitem = 0;
      var gmax = 3;
