Each component consists of three parts:
- TypeScript class
- HTML template
- CSS styles
One can pass styles and HTML template directly, using template
and styles
or link to an existing HTML file and CSS file using templateUrl
and stylesUrl
.
Import other components using imports[]