There is an Observable of the array of places:
places: Observable>;
In template it used with the async pipe:
The filter function is immutable and won't change the original array.
I would change the deletePlace function to something like this:-
deletePlace(placeId: number): void {
this.apiService.deletePlace(placeId)
.subscribe(
(res: any) => {
this.places = this.places.filter((place) => place.id != placeId);
},
(err: any) => console.log(err)
);
}