I have a route resolver where I need to make two method calls in sequence that both return observables. I do not need to do anything with the response from the first call, but I would like to return to the component for the route the data that comes back in the second call. Can someone give me an example of how to do this? I think I should be using flatMap() but I cant seem to get it to work.
So basically: firstMethod(): Observable -> secondMethod():Observable <--return value from this.