- ng new sales-project, select no for angular routing, and select CSS for the style sheet format.
- change directory: cd sales-project
- ng serve --open
- update app.component.html by removing default data.
- ng generate component sale-person-list
- Go to app.component.html and add a tag " "
- ng generate class sales-person-list/SalesPerson
- Open SalesPersonComponent.ts file. Create a array of SalesPerson objects.
Open SalesPersonListComponent.html file. Create a table and add the data of SalesPerson array created in SalesPersonComponent.ts using "*ngFor = "let salesPerson of salesPersonList""