/* The RxJs is a very large library. Hence Angular exposes a stripped-down version of Observables. You can import it using the following import statement */ import { Observable } from 'rxjs'; import { map, catchError } from 'rxjs/operators';