angular ng model explained code example Example: new model angular ng generate class hero --type=model