What is the difference between canLoad and canActivate?
export interface Route {
path?: string;
pathMatch?: string;
matcher?:
Important to notice that canLoad won't stop someone from getting your source code. The .js won't be downloaded by browser unless user is authorized, but you can force a manual download by issuing a import('./xxxxx.js') on browser console.
Module name can be easly found on you main.js on your routes definition.