Angular 6|7 ngIf by Example
The ngIf
directive allows you to do conditional rendering of template parts i.e you can show or hide an element on your Angular template based on some condition.
Throughout this quick tutorial, you’ll be learning about how you can use ngIf
in your Angular…