import { Injectable } from '@angular/core' ; import { CanActivate } from '@angular/router' ; import { Observable , of } from 'rxjs' ; @ Injectable ( ) export class TablesGuard implements CanActivate { canActivate ( ) { return of ( true ) ; } }