Question: how routing works in angular?
Answer: When a user navigates to a page, Angular Router performs the following steps in order: it reads the browser URL the user wants to navigate to. ... it activates the Angular components to display the page. it manages navigation and repeats the steps above when a new page is requested.