title: angular - Is it possible to call parent resolver each time the page is being reloaded?
body: <p>In resolver:</p>
  <ul>
  <li>Fetch data</li>
  <li>build router depending of those data</li>
  </ul>
  <p>Afterwards, my router looks this:</p>
  <pre><code>{
    path: '',
    component: WrapperComponent,
    resolve: {
      traveler: TravelerResolver, // &lt;-- the resolver adds children
    },
    children: [{
      path: 'a',
      component: AComponent,
      children: [{
        path: 'sub-a',
        component: SubAComponent,
      }, {
        path: 'sub-b',
        component: SubBComponent,
      }],
    }, {
      path: 'b',
      component: AComponent,
      children: [{
        path: 'sub-a-prime',
        component: SubAprimeComponent,
      }, {
        path: 'sub-b-prime',
        component: SubBprimeComponent,
      }],
    }],
  }
  </code></pre>
  <p>So I am able to navigate to <code>/a/sub-a</code> for example.
  What's happening is at reloading, the resolver is not called again in order to generate routes.</p>
  <p>Is it possible to call it again or  is there a better pattern for my case?</p>
  <p>EDIT.</p>
  <p>I've made a stackblitz:</p>
  <p><a href="https://stackblitz.com/edit/angular-ivy-4yen6w" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-ivy-4yen6w</a>?</p>