| 12 | // #docregion CanActivate |
| 13 | @Injectable({providedIn: 'root'}) |
| 14 | export class AdminGuard { |
| 15 | canActivate() { |
| 16 | return true; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | const route: Route = { |
| 21 | path: 'admin', |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…