mardi 10 janvier 2017

Inject Ember.Controller model into Ember.Service

How can I access the "model" in an Ember.Controller from an Ember.Service? In my case I need the ember-data model in a url such as http://localhost:4200/users/4/groups. In a route I can simply do this.modelFor('users')




Aucun commentaire:

Enregistrer un commentaire