how to get component details in angular 6 with out selector code example Example: angular add component ng generate component [name]