Skip to content

TwisterMW/angular-generator

Repository files navigation

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 twistermw-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.

About

Generates an AngularJS component, creating all related files (Controller, filter, module, servic e, spec for UT)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published