2.0.0-1 • Published 8 years ago

generator-twistermw-angular-component v2.0.0-1

Weekly downloads
8
License
-
Repository
github
Last release
8 years ago

Build Status npm version

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

  1. NodeJS (version used 5.5.0)
  2. 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.