Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Injectable } from '@angular/core';
- import { CanActivate } from '@angular/router';
- @Injectable()
- export class SynchronousGuard implements CanActivate {
- canActivate() {
- console.log('SynchronousGuard#canActivate called');
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement