title: Angular Resolver with related Observables using withLatest
body: <p>The second observable of my resolver has to use the result of the first observable. I couldn't fiure out how to pass that data to the second observable :</p>
  <pre><code>  resolve(route: ActivatedRouteSnapshot,
            state: RouterStateSnapshot): Observable&lt;[Project[], Owner]&gt; {
      const currentEmail = this.CurrentUserEmail();
      return this.searchService.genericSearchApi('/api/searchproject', ...[//I need to pass the user here.]]).pipe(
          withLatestFrom(
              this.userService.getUserByEmail(currentEmail)
  
          )
      );
    }
  </code></pre>
  <p>Thanks for your help!</p>