I tried using \"ng destroy component foo\" and it tells me \"The destroy command is not supported by Angular-CLI\"
How do we properly delete components with Angular
I am not sure if it is the best way, but it worked for me.
I just saved and refreshed the app and it worked.