/generator-ng-component

Component generators for AngularJS

Primary LanguageJavaScriptMIT LicenseMIT

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