I\'ve been learning TypeScript with Angular. And currently I stuck as this moment. Previously I used subscribed method and everything works flawlessly, but not I decided to
The Angular async template pipe subscribes to the Observable, that is how it is able to access the restaurant object and its properties in the template.
If you want to access to these same thing in the component controller then you need to make a subscription in the component controller.