How to hook Ember 2.2 template with a DS.Model data


#1

I have Ember 2.2 and Ember-Data 2.2.1. My application loads fine and I can see my DS.Model in the Ember Inspector show up with type ‘appstatus’. I am having difficulty in understanding how to connect that to a template in which I have to show?

The DS.Model was loaded in the Ember.Route by a polling mechanism which did a store.push(data). I can see the data in the inspector but dont know how the template can hook to it.


#2

Either return it from the model hook, manipulate the model, or set a controller property from the route.


#3

May be my example todomvc can help you? It has a lot of places where template get data from model