mirror of
https://github.com/angular/angular.git
synced 2026-11-28 09:27:52 -05:00
Previously we would look in the DI tree for a token named 'Router' and resolve its value. Now we use the already existing getRouterInstance, which depends on ng global debug APIs to get the router instance of an application.