Fork the Repo Find Help Stack Overflow

# Service

Edit this Page

### 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.

### Contributors