© 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.