mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c963569c0e
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.