Resicvers in Angular
export interface Resolve<T> {
resolve(
route: ActivatedRouteSnapshot,
state: RouterStateSnapshot
): Observable<T> | Promise<T> | T {
return 'Data resolved here...'
}
}
Open Opossum