Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import { Injectable } from '@angular/core';
  2. import { CanActivate } from '@angular/router';
  3. @Injectable()
  4. export class SynchronousGuard implements CanActivate {
  5. canActivate() {
  6. console.log('SynchronousGuard#canActivate called');
  7. return true;
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement