angular check what path the current route ist code example Example: angular get current route this.router.url === '/login'