how to add a route that redirects and runs a method in angular code example Example: how to add redirec router in angular Angular Path Router Redirect