A component is the fundamental building block of an Angular UI — a TypeScript class decorated with @Component that controls a section of the screen (its "view"). Every Angular app is a tree of components.
Anatomy of a component
{ } ;
({
: ,
: ,
: [],
})
{
name = ;
() { ; }
}
