title: Having Problems with $.json in Ember
body: <p>I am trying to use $.getJSON with Ember.js (Basically I am trying to avoid Ember-Data). Here's my code,</p>
  
  <pre><code>App = Ember.Application.Create();
  
  App.Model = Ember.Object.extend({
  
  });
  
  App.Users = App.Model.extend({
      id: null,
      name: null
  });
  
  
  App.UsersRoute = Ember.Route.extend({
      model: function(){
          return App.Users.findAll();
      }
  });
  
  App.Users.reopenClass({
    findAll: function() {
      var result = Ember.ArrayProxy.create({content: []});
  
      $.getJSON('user.php', function(data) {
        $.each(data, function(i, row) {
          result.pushObject(App.Users.create(row));
        });
      });
  
      return result;
    }
  });
  </code></pre>
  
  <p>and Here's my HTML:</p>
  
  <pre><code>&lt;body&gt;
          &lt;script type="text/x-handlebars" data-template-name="MyTemplate"&gt;
  
  
              {{#each item in controller }}
              &lt;tr&gt;&lt;td&gt;
               &lt;p&gt; {{item.name}}&lt;/p&gt;
              &lt;/td&gt;&lt;/tr&gt;
              {{/each}}
  
          &lt;/script&gt;
  
          &lt;script type="text/x-handlebars"&gt;
              &lt;h1&gt;Application Template&lt;/h1&gt;
              {{outlet}}
          &lt;/script&gt;
  
      &lt;/body&gt;
  </code></pre>
  
  <p>Issue I am having is it is not the loading the model, do I need an controller too?  Or anything else I am missing on my part?</p>