create model in angular 8 code example Example: angular generat model ng generate class hero --type=model