creating a component
ng g c components/posts --skip-tests
This line will not generate the test file. We will make it later.
This component will try to get the posts and delete the posts. Code of the postComponent is given below:
export class PostsCom...