1Steps to delete a component in Angular
21. Remove the import line reference from Angular app.module.ts file.
32. Remove the component declaration from @NgModule declaration array in app.module.ts file
43. And then manually delete the component folder from Angular project.
54. Finally Delete all the references of component manually from the Angular project.