angular 6 ngswitchcase example
Example: ngswitchcase in angular 8
content_copy
<container-element [ngSwitch]="switch_expression">
<some-element *ngSwitchCase="match_expression_1">...</some-element>
...
<some-element *ngSwitchDefault>...</some-element>
</container-element>