Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Documentation below is for CLI version 6. For version 7 see here.
ng generate service
ng generate service [name] generates a service
ng generate s [name]
Run through without making any changes.
Forces overwriting of files.
The name of the project.
Flag to indicate if a dir is created.
Specifies if a spec file is generated.