how to design a component in angular 6 code example Example: angular add component ng generate component [name]