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