how to use model in angular to create object code example Example: new model angular ng generate class hero --type=model