ngSwitch in Angular5

In this post, I am going to explain “How to use ngSwitch in Angular5”, ngSwitch used in angular same as other programming language. In this article I will be show example “How to use ngSwitch in Angular”. ngSwitch ngSwitch is actually comprised of two directives, an attribute directive and a structural directive. Its very similar … Read more

What is NgIf, else and then in angular

In this post, I am going to explain all conditional statement of Angular like NgIf, NgIf else, Then and Switch Statement. NgIf, else, Then NgIf conditionally includes a template based on the value of expressions It adds or removes the HTML element in DOM layout. The basic syntax of the ngif directives is simple and … Read more