title: Using Polymer iron-ajax in repeating template
body: <p>How do I load a json file and use the data in a repeating template? This code doesn't produce anything:</p>
  
  <pre><code>&lt;dom-module id="name-list"&gt;
      &lt;template&gt;
          &lt;iron-ajax auto url="names.json" handleAs="json" lastResponse="{{data}}"&gt;&lt;/iron-ajax&gt;
          &lt;template is="dom-repeat" items="{{data}}"&gt;
              &lt;div&gt;First name: &lt;span&gt;{{item.firstName}}&lt;/span&gt;&lt;/div&gt;
              &lt;div&gt;Last name: &lt;span&gt;{{item.lastName}}&lt;/span&gt;&lt;/div&gt;
          &lt;/template&gt;
      &lt;/template&gt;
  &lt;/dom-module&gt;
  
  &lt;script&gt;
      Polymer({
          is: "name-list"
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Here's my json file (Edit: corrected after vasek's reply):</p>
  
  <pre><code>{
      [
          {
              "firstName": "John",
              "lastName": "Smith"
          },{
              "firstName": "Jane",
              "lastName": "Doe"
          }
      ]
  }
  </code></pre>
  
  <p>I'd like to have the following:</p>
  
  <pre><code>&lt;div&gt;First name: &lt;span&gt;John&lt;/span&gt;&lt;/div&gt;
  &lt;div&gt;Last name: &lt;span&gt;Smith&lt;/span&gt;&lt;/div&gt;
  &lt;div&gt;First name: &lt;span&gt;Jane&lt;/span&gt;&lt;/div&gt;
  &lt;div&gt;Last name: &lt;span&gt;Doe&lt;/span&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I'm including iron-ajax elsewhere in my code. I've already tested the general functionality. It works, just not in the context of data-binding.</p>