angular console log observable code example Example: console log observable data yourObservable.subscribe(res => console.log(res));