---
title: Controller
---

### Controller
Generates a controller.

Example:
```bash
yo angular-fullstack:controller user
[?] What module name would you like to use? myApp.user
[?] Where would you like to create this controller? client/app/
```

Produces:

    client/app/user/user.controller.js
    client/app/user/user.controller.spec.js
