There are basically two types of components to build in Angular 2:
- Routable components
- Nested Components
Use a nested component when you have functionality that is part of another “page”. For example, a component that displays a star rating or a standard address block. Often they are reused across multiple pages.
Use a routable component if you want a template that "captures" the entire or a significant part of the page. Therefore, if you have an application that has a welcome page, a message page, a detailed page, and the publication of an edit page, each of them will be its own routable component.
And as the previous poster suggested ... see the style guide in the Angular documentation.
source share