如何使用Angular的if else模板条件呈现具有相同内容的不同容器?
类似这样的事情
<ng-container *ngIf="whichContainer; then container else other_container">
<!-- Same content for both containers -->
content here...
</ng-container>
<ng-template #container><button>content...</button></ng-template>
<ng-template #other_container><div>content..</div></ng-template>