Command:
generate [type] [name] [directory]
Type
controller
- generates controller for the applicationdirective
- generates directive for the applicationservice
- generates service for the application
Directory
- pass in the directory where you want to output the file specifically use for
controller
andservice
command