Angular Observables
In Previous topic we have seen Angular Router and configure it. In this section we will take a look into Angular Observables. Angular Observable ➤➤ Angular Observable is a function that converts ordinary stream of data in Observable stream of data. In Order to use Observable we have to import "Observable" from "rxjs" into component that use it. import { Observable } from 'rxjs'; Observable emits the value from the stream asynchronously. It emits the complete signal when the stream completes or an error signal for any errors. The Observable starts to emit values only when someone subscribes to it. Important Points : Observables are sequence of data that gets emitted asynchronously from time to time or over period time it means that observable will keep producing values. Observable provide support for passing messages between different parts of our application. Angular make use of Observables as an interface to handle a variety of common async operations. Obse...