Ionic ngSwitch with examples
In Ionic Angular has a lot of built-in directives: *ngIf , *ngFor , *ngSwitch . These directives are so-called structural directives, which are used to transform the DOM structure. Sometimes you need to render different elements depending on a given condition. When you run into this situation, you could solve this by using several *ngIf […]