Skip to content

Commit a4508b4

Browse files
committed
docs(generators:service): create service.md
[skip ci]
1 parent da34dee commit a4508b4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/generators/service.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### Service
2+
Generates an AngularJS service.
3+
4+
Example:
5+
```bash
6+
yo angular-fullstack:service myService
7+
[?] Where would you like to create this service? client/app/
8+
```
9+
10+
Produces:
11+
12+
client/app/myService/myService.service.js
13+
client/app/myService/myService.service.spec.js
14+
15+
16+
You can also do `yo angular-fullstack:factory` and `yo angular-fullstack:provider` for other types of services.

0 commit comments

Comments
 (0)