create model using angular cli code example Example: angular generat model ng generate class hero --type=model