Suggest an editImprove this articleRefine the answer for “What is routing in Angular?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**Routing** in Angular is a navigation system within a single-page application (SPA) that allows switching components without reloading the page. **Key point:** routing is a map that matches a URL to a component.Shown above the full answer for quick recall.Answer (EN)ImageRouting in Angular is a **navigation system within a single-page application (SPA)** that allows switching components without reloading the page. It works like this: - The user navigates to a URL (for example, `/profile`), - Angular analyzes the path and **renders the needed component** instead of loading a new page from the server. To make this work: 1. An array of routes (`Routes[]`) is configured in `AppRoutingModule`. ```typescript const routes: Routes = [ { path: 'home', component: HomeComponent }, { path: 'about', component: AboutComponent } ]; ``` 2. The `<router-outlet>` directive is used - this is where the matching component appears. 3. Navigation happens through `routerLink`, `navigate()`, or manually. Essentially, routing is a **map**: URL → component. It makes the application's structure logical, modular, and interactive.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.