add one component to the template angular code example Example: angular add component ng generate component [name]