Public $stateRegistry contract for dynamic route registration.
$stateRegistry
Module-owned static routes should normally use [[NgModule.router]]. Use this service when routes must be added or removed at runtime.
Optional
Public
$stateRegistrycontract for dynamic route registration.Module-owned static routes should normally use [[NgModule.router]]. Use this service when routes must be added or removed at runtime.