angualr 11 create a component in command code example Example: create angular component using cli ng generate component hero-detail