title: Loading .JSON file with Ember Data
body: <p>I want to load data from file komentari.json that is found within my folder and it changes when i insert something new, it is not always with just one comment in it. When I try to start my application it shows nothing.Here is my code.</p>
  
  <p>app.js</p>
  
  <pre><code>App = Ember.Application.create();
  App.Router.map(function() {
  });
  
  App.IndexRoute = Ember.Route.extend({
  model: function() {
  return this.get('store').find('comment');
  }
  });
  
  App.ApplicationAdapter = DS.RESTAdapter.extend({
  namespace: "http://localhost/proba/",
  url: "komentari.json"
  });
  
  App.Comment = DS.Model.extend({
  name: DS.attr('string'),
  comment: DS.attr('string')
  
  });
  </code></pre>
  
  <p>index page</p>
  
  <pre><code>&lt;script type="text/x-handlebars" id="index"&gt;
  &lt;ul&gt;
  {{#each item in model}}
    &lt;li&gt;{{item.name}}&lt;/li&gt;
   &lt;li&gt;{{item.comment}}&lt;/li&gt;
  {{/each}}
  &lt;/ul&gt;
  </code></pre>
  
  <p></p>
  
  <p>komentari.json</p>
  
  <pre><code>{"comments":[{"name":"Name1",
               "comment":"Comment1"}]} 
  </code></pre>