in angular how to get the current status of a route code example Example: angular get current route this.router.url === '/login'