Angular Router map URL sang component thông qua route config.
App standalone thường dùng provideRouter(routes), template đặt <router-outlet /> làm nơi render route hiện tại, và navigation dùng routerLink hoặc Router.navigate(). Route có thể chứa path params, query params, redirects, nested routes, lazy loading, guards và resolvers.
Angular Router maps URLs to components through route configuration.
A standalone app usually uses provideRouter(routes), the template places <router-outlet /> where the current route renders, and navigation uses routerLink or Router.navigate(). Routes can include path params, query params, redirects, nested routes, lazy loading, guards and resolvers.