import { Injectable } from '@angular/core' ; import { ActivatedRouteSnapshot , CanActivate } from '@angular/router' ; @ Injectable ( { providedIn : 'root' } ) export class MemberGuard implements CanActivate { canActivate ( route ) { return true ; } }