Services: A Rumination on Introducing a New Role into the Ember Programming Model

Throwing my hat into the ring with a generic dependency injection computed property: https://github.com/jayphelps/ember-computed-injection

var injection = Ember.computed.injection;

var MyController = Ember.Controller.extend({
  geolocation: injection('service:geolocation')
});

export default MyController;
7 Likes