Router Configuration Fundamentals
Explain how Angular's Router maps URL paths to components via a route configuration array.
Angular's Router turns a single-page application into something that still behaves like the web is supposed to — distinct, bookmarkable URLs, working browser back/forward buttons, deep linking — by mapping URL path patterns to components through a declarative route configuration array. Interviewers ask about this early because it's the entry point to nearly every other routing topic, and because a shaky grasp of the basic Routes array shape makes advanced questions (guards, resolvers, lazy loading) much harder to reason about correctly.
It's like a hotel directory board in the lobby — each room number (URL path) maps to a specific room (component), and the elevator (router-outlet) takes you to the right floor the moment you specify where you want to go.