© Mark Clow 2018
Mark ClowAngular 5 Projectshttps://doi.org/10.1007/978-1-4842-3279-8_17

17. RxJS with Angular

Mark Clow1 
(1)
Sandy Springs, Georgia, USA
 

In the previous chapter, we went through the core concepts of Reactive extensions and learned about observables, observers, subscriptions, and operators in RxJS. Now we’re going to see how we can use Reactive Extensions with Angular.

Reactive Extensions weren’t around at the time of writing AngularJS, but promises were. AngularJS used a lot of promise objects, including by the $http, $interval, and $timeout modules. Promise objects could be used to represent asynchronous results: success (return value) or failure (return error). Promise objects were used in HTTP communication with the server and ...

Get Angular 5 Projects: Learn to Build Single Page Web Applications Using 70+ Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.