Angular FullStack Commands
Comlete Commands
- See the Angular fullstack github page
Server Side Scaffolding
API EndPoints
- Generates everything you need for a new API endpoint
yo angular-fullstack:endpoint attraction
will generate the boiler plate code:
server/api/attraction/index.js
server/api/attraction/message.spec.js
server/api/attraction/message.controller.js
server/api/attraction/message.model.js
server/api/attraction/message.socket.js (if using socket io)
your api endpoint uri will be:
/api/attractions
Client Side
Route
Generates a controller, route, html, css
yo angular-fullstack:route myroute
Controller
Only generates a controller
yo angular-fullstack:controller user
Directive
Generates a directive, including the HTML and CSS
yo angular-fullstack:directive myDirective
Filter
Generates a filter
yo angular-fullstack:filter myFilter
Service
Generates a service
yo angular-fullstack:service myService
Decorator
Generates a decorator
yo angular-fullstack:decorator serviceName