You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some use-cases where some services don't have public methods and never used/injected by other components/services. This services inject other services and works with them on some events/etc. At ng1 we can use module.run() function to initialize this services, inject them at this function.
As i see at ng2 we can do this
and this works as expected.
But looks like ng-metadata does not create module class instance and constructor is never called.
It would be useful to have modules classes instantiated.
The text was updated successfully, but these errors were encountered:
There is some use-cases where some services don't have public methods and never used/injected by other components/services. This services inject other services and works with them on some events/etc. At ng1 we can use
module.run()
function to initialize this services, inject them at this function.As i see at ng2 we can do this
and this works as expected.
But looks like ng-metadata does not create module class instance and constructor is never called.
It would be useful to have modules classes instantiated.
The text was updated successfully, but these errors were encountered: