inject (factoryNameOrType, property, injectionName) public
Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:203
Define a dependency injection onto a specific factory or all factories of a type. When Ember instantiates a controller, view, or other framework component it can attach a dependency to that component. This is often used to provide services to a set of framework components. An example of providing a session object to all controllers: let App = Ember.Application.create