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
{{ message }}
This repository has been archived by the owner on May 25, 2021. It is now read-only.
As of angular version 2.3.0-beta.0, the router should be registered on ng.coreTokens, so we can take advantage of that and not require the router injection into the root component.
The text was updated successfully, but these errors were encountered:
Like the provider tokens, angular now supports getting the router component from the coreTokens injector. If it's there you will get a component reference, otherwise it will return "Null?". Provide support for this feature, with fallback for pre-2.3 router.
As of angular version 2.3.0-beta.0, the router should be registered on
ng.coreTokens
, so we can take advantage of that and not require the router injection into the root component.The text was updated successfully, but these errors were encountered: