I'm trying to chaining the router resolver
This is my Router options.
{ path: '',
component: AdminComponent,
resolve: [
SessionResolve,
LocaleResolve
]
}
I want to call SessionService(SessionResolve) and then call LocaleService(LocaleResolve) with lang value of Session data
However, the above code calls resolve at the same time
I think resolve code changes here But i don't know because I have not used Angular4 before.
Is there a way I can use resolve as a chanining? Or should I handle all the work in one resolve?