You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular now has a command ng generate guard which will create an empty guard. Regardless of that, it is better to put a guard into a dedicated file auth.guard.ts rather than auth.service.ts
Further, RxJS operators are now used inside of pipe(), not by themselves