generator-twistermw-angular-component
v2.0.0-1
Published
Generates an AngularJS component, creating all related files (Controller, filter, module, service, spec for UT)
Downloads
2
Readme
AngularJS Component Generator
Generates an AngularJS component, creating all related files (Controller, filter, module, servic e, spec for UT). Combined with the AngularJS Seed project: AngularJS Seed Project
Requirements
- NodeJS (version used 5.5.0)
- Node NPM (version used 3.3.12)
Installation
- Clone repo from GitHub
- Do a npm install:
$ npm install
Usage
If we run at console this command: $ yo angular-component
we'll be asked for a folder to deploy the generated components. The next step is choose the module name, and finally we can select all kind of angular files to be generated using the data inputed before.
**NOTE:** If you create diferent modules for each component that you generate, you must include the module dependency on 'app/app.routes.js' file.