Expanded Library

Angular 2: Using the ngIf Directive (Interactive)

by Carlos Souza

Learn how to hide and show content on the page using the ngIf directive.

What you'll learn

Learn how to hide and show content on the page using the ngIf directive. In this interactive course, you'll learn how to use the built-in ngIf directive to conditionally display data on the page.

About the author

Carlos is a software developer who is constantly looking for better ways to write code. When not making loud noises on his mechanical keyboard, he can be found rock climbing or playing music.

Ready to upskill? Get started