how to get value of observable angular code example Example: how to get value from observable this.singleEvents$.subscribe(event => this.event = event);