In this article, I'll show you how to dynamically change page title of an Angular app based on Route configuration.
Let say we have three components HomeComponent, MainComponent and AboutComponent. The corresponding route definition as in app-routing.module.ts file
import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular …