Consider the following route configuration:
const routes: Routes = [
{
path: \'\',
component: AppComponent,
resolve: {
app: AppResolver
I've tested the solution 'runGuardsAndResolvers', it works for my use case, the resolver is called at each sub-page changes.
It is only adding this option the part of your routes that you want behave this way.
export const ROUTES: any = [
{
path: 'project/:name',
runGuardsAndResolvers: "always",
component: ProjectComponent,
resolve: { project: ProjectResolver },
children: [
...