command to generate class model in angular code example Example: angular generat model ng generate class hero --type=model