mardi 12 février 2019

Initialize a service on app startup without initializer

I have a service in Ember 2.18 named testing. e.g.

export default Service.extend({ //some code })

I need to be able to initialize this testing service in the app from within the service if possible. Essentially want to inject the service across the app globally from within the service without using an initializer. Is this possible?




Aucun commentaire:

Enregistrer un commentaire