Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 449 Bytes

File metadata and controls

17 lines (12 loc) · 449 Bytes

Service

Generates an AngularJS service.

Example:

yo angular-fullstack:service myService
[?] What module name would you like to use? myApp.myService
[?] Where would you like to create this service? client/app/

Produces:

client/app/myService/myService.service.js
client/app/myService/myService.service.spec.js

You can also do yo angular-fullstack:factory and yo angular-fullstack:provider for other types of services.