Closed JacobSamro closed 7 years ago
I think you have found a bug. The service is currently injected to Controllers and Components as cart:main
however that means if you try and inject the service in the way services want to be injected in Ember:
cart: inject()
it will not work as expected as it will create difference instance.
I think the way to do this is to remove the instance initializer and just rely on service injection. If you want to PR this change let me know. Else I can probably do it later this week.
Great it worked ! Thanks :dancing_men:
Will you please explain how to inject this service into a route.