BehaviorSubject, AuthService and AuthGuard and loadchildren
A simple auth service and Authguard, implementation , and lazy loading, to import only requested modules/components. Authguard is used to protect the routes when user is not logged in or in any other situation where we want more privacy , here we goi...
chinmayjape.hashnode.dev4 min read