Angular

How to use angular ngIf directive and ngIf else directive .?

Angular has a lot of built-in directives: ngIf, ngFor, ngSwitch, ngClass , and ngStyle .The first three directives are called structural directives, which are used to transform theDOM’s structure by adding or removing elements to DOM. Structural directives start with an asterisk ( * ). The ngIf directive is used when we want to display …

How to use angular ngIf directive and ngIf else directive .? Read More »

Scroll to Top