ng2 when i should create a component code example Example: angular add component ng generate component [name]