Question: I'm writing an app in Angular 2 and I want to execute several http requests and run a function on the responses.

In Angular 1, I would write something like `$q.all([$http.get(...), $http.get(...), ...]).then(doSomethingWithResponses);`

But Angular 2 returns RxJS Observables and after a bunch of reading I still can't figure out how to get the responses of several http requests. How can this can be done?

Answer: 
As @Eric Martinez pointed out, there is [forkJoin](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/forkjoin.md). forkJoin runs all observable sequences in parallel and collect their last elements.

```
Rx.Observable.forkJoin([a,b]).subscribe(t=> {
        var firstResult = t[0];
        var secondResult = t[1];
});

```
I'm not sure you'd want to use [`forkJoin/zip`](http://reactivex.io/documentation/operators/zip.html), especially considering [`combineLatest`](http://reactivex.io/documentation/operators/combinelatest.html) is easier to understand and will emit on every sub-stream event, whereas `forkJoin` basically samples on every sub-stream having emitted.

This might come to bite you later when you want to combine multi-item Observables down the road.