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