I have this in my .ts file
myobj: Observable<MyObj[]>;
which I can loop through in my HTML file to see all myObj[] coming from my API
is it possible to turn this Observable into an Array of MyObj?
I have this in my .ts file
myobj: Observable<MyObj[]>;
which I can loop through in my HTML file to see all myObj[] coming from my API
is it possible to turn this Observable into an Array of MyObj?
You can use *ngFor directive with asyncPipe in your HTML template.
Your case:
<ng-container *ngFor="let obj of myobj | async">
  {{obj}}
</ng-container>
