Tag: Angular if else

How to use ngIf directive in Angular?

We discovered the Angular ngFor directive before, and it’s time to discover another structural directive in Angular which is ngIf directive. If worked before with AngularJS, you surely have used ng-if directive. The concept is the same for the two frameworks. We are handling DOM Elements either by adding HTML…

continue reading

Pin It on Pinterest