Сейчас ищут
Authorization Using Route Guard. Смотреть видео: Angular Authentication Using Route Guard, Angular Guards Angular Auth Guard Angular Canactivate, How To Protect Routes With Auth Guard In Angular 14, 93 What Is A Route Guard Angular Router Route Guards A Complete Angular Course.