Angular Router
In Previous topic we have looked into HTTP Client in Angular , In this topic we will look routing mechanism in Angular. we will set up and configure router. Routing ➤➤ Routing allow us to navigate from one component to another based on action taken by users. The Angular router module is a separate module which is present in @angular/router package. Configure Angular Router : Angular Router is configured automatically when we create a new application using Angular CLI. If you want to do it manually you need to follow below steps. 1. Base href tag: you have to place <base href="/"> inside index.html within the head tag as shown below. <!doctype html > <html lang = "en" > <head> <meta charset = "utf-8" > <title> SchoolManagementSystem </title> <base href = "/" > <meta name = "viewport" content = "width=device-width, initial-scale=1" > <link rel = "icon...