title: Unable to load data from a json file in sencha touch 2
body: <p>I've trying to get the sencha touch 2 data management examples to work but with no use. Here is the code of a simple model and store that are not working (getCount returns 0).</p>
  
  <pre><code>Ext.define('MyClient.model.Product', {
      extend:'Ext.data.Model',
      config:{
          fields:['name', 'image'],
          proxy:{
              type:'ajax',
              url:'http://localhost/st2/Projets/my-client-sencha/data/products.json',
              reader:{
                  type:'json',
                  rootProperty:'products',
                  successProperty:'success'
              }
          }
      }
  });
  
  Ext.define('MyClient.store.ProductsStore', {
      extend:'Ext.data.Store',
      config:{
          model:'MyClient.model.Product',
          autoLoad:true,
          autoSync:true
      }
  });
  </code></pre>
  
  <p>In the launch function I have these lines:</p>
  
  <pre><code>        var prod = Ext.create('MyClient.store.ProductsStore');
          prod.load();
          alert(prod.getCount());
  </code></pre>
  
  <p>And finally here's my products.json:</p>
  
  <pre><code>[
  
      {
          "name":"test"
      }
  ]
  </code></pre>
  
  <p>I'm not getting any errors in the console but still the getCount always returns 0. Can use some help here please.</p>
  
  <p>EDIT: wrong JSON, not working with this neither:</p>
  
  <pre><code>{
      "success":true,
      "products": [
  
          {
              "name":"test"
          }
      ]
  }
  </code></pre>