Component generators for AngularJS
JavaScript HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
templates
.babelrc
.editorconfig
.gitattributes
.gitignore
.jshintrc
.npmignore
.travis.yml
CHANGELOG.md
Gruntfile.js
LICENSE
README.md
gulpfile.babel.js
package.json

README.md

generator-ng-component

Build Status Dependency Status Dev-Dependency Status

Yeoman generator

Getting Started

Yeoman Generators

Install yo and generator-ng-component from npm:

$ npm install -g yo generator-ng-component

Finally, initiate the generator:

$ yo ng-component

Template Properties

  • lodash: reference to lodash
  • appname: the app name specified by bower.json or the project's directory name
  • scriptAppName: the angular app name, appname + 'App'
  • cameledName: the cameled name argument that is passed to the (sub)generator
  • classedName: the classed name argument that is passed to the (sub)generator

License

MIT