Question: why use rxjs in angular 2?
Answer: RxJS (Reactive Extensions for JavaScript) is a library for reactive programming using observables that makes it easier to compose asynchronous or callback-based code. ... Converting existing code for async operations into observables. Iterating through the values in a stream. Mapping values to different types.