In this video...
You will learn a more advantageous way to conditionally display elements using the ngIf directive.
Binding to the hidden property had two drawbacks:
- It was confusing to bind to a property that hides where setting true means that the element was NOT visible
- The element remained in the DOM which is often times unnecessary
The ngIf directive solves these problems and is an extremely common directive.