command for adding angular component code example Example: angular generate component ng g component componentname