Start here. This is the direct spoken answer to practice first.
Overview
Client navigation stays inside the running application, while a direct URL is first resolved by the server or CDN.
A local development server usually falls back to the Angular entry document, but a production server may look for a physical file at the route and return 404. I configure a fallback to index.html for application routes while preserving real API, asset, and error responses. If the app is hosted below the origin root, I also verify its base href and generated asset URLs.