title: how to update a list inside ng-repeat using angular?
body: <p>i lave an ionic list</p>
  
  <pre><code>&lt;ion-list&gt;
    &lt;ion-item ng-repeat="item in items"&gt;
      Hello, {{item.name}}!
    &lt;/ion-item&gt;
  &lt;/ion-list&gt;
  </code></pre>
  
  <p>then, in the controller i have a event:</p>
  
  <pre><code>$scope.items = someData();
  itemsRef.on('event', function (response) {
      console.log(response); // this is an object containing he "name" property
  });
  </code></pre>
  
  <p>i would like append the <code>response</code> as a <code>ion-item</code>, without inserting html, but somehow adding the response to the items</p>
  
  <p>edit:</p>
  
  <p>I've tried: <code>$scope.items.push(response);</code> but weirdly enough i get <code>Uncaught TypeError: undefined is not a function</code></p>
  
  <p>edit: it looks like one doesn't just <code>$scope.items.push(response);</code>, but <code>$scope.items[next_key_here] = response;</code></p>
  
  <p>see <a href="http://jsfiddle.net/patrioticcow/v2311770/4/" rel="nofollow">jsfiddle</a></p>