App.MyController = Ember.ArrayController.extend({
results: [],
init: function(){
_this = this;
App.MyModel.find({}).then(function(contents) {
obj1 = contents.objectAt(0);
obj1.get('data').hasMany.results.forEach(function(item){
_this.results.pushObject(item)
});
})
//rest of the code
}
});