how to create new component in angular
//First go in the folder where you want to add new component in angular then use given command
ng g c componentName
//or
ng generate component componentName
//If you are in root folder and want to make a sub component then
// componentName is complete path of that folder with componentName