Edit on
<screen id='main' class='current'>
  <nav>
    <h1>ChUI List</h1>
  </nav>
  <section>
    <ul class="list" id='peopleList'>
      <!-- Template for view -->
      <li>
        <div>
          <h3>{= person.firstName }</h3>
          <h4>{= person.lastName }</h4>
        </div>
      </li>
    </ul>
  </section>
</screen>
var people = [
  { firstName: 'Joe', lastName: 'Bodoni' },
  { firstName: 'John', lastName: 'Doe' },
  { firstName: 'Wobba', lastName: 'Rango' },
  { firstName: 'Josh', lastName: 'Rutherford' }
];

var peopleModel = $.Model(people, 'people-model');

var peopleView = $.View({
  element: '#peopleList',
  model: peopleModel,
  // Use this variable in the template:
  variable: 'person'
});

peopleView.render();
Rerun