create model in angular command code example Example: new model angular ng generate class hero --type=model