How to populate an HTML table dynamically using ngFor in Angular 9

In this article I will walk you through an example demonstrating how to create an HTML table and populate it dynamically using the native ngFor directive in Angular 9.

1 — Create an empty Angular Project

First, let’s start off my creating an empty Angular 9 project. To do that open a Terminal in your VScode and type the following command: