Controller

Edit this Page   

Controller

Generates a controller.

Example:

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

Contributors