I have a scenario like there's a list of employees in the developing application. When I click one employee name, it navigates to that employee's details. Whenever i navigate to each employee's details, my browser title should display information like “Employee Name: Employee Number". So that the title should change according to the employee.
Suppose I am also having list of departments and there the same thing should happen; if i navigate to department component browser title should display information like “Department Name: Department Number”.
Please suggest how to achieve this in generic way instead of setting title in each component.