kosz/generator-modular

Create config Generator

Closed this issue · 0 comments

kosz commented

Options

Directives

  • always create controller for directive
  • always ask to create controller

Controllers

  • setup naming strategy
    • namespacing prefix
    • Ctrl suffix
    • alternative to this - self
    • controllerAs variable name - vm
  • always use controllerAs

Services

  • always generate factory
  • always generate class factory
  • always generate function factory
  • always generate service

JavaScript & Angular

  • function declaration
  • scaffold comments/ngdocs ?
  • would you like to be asked if you want to add functions to objects ?
  • would you still like to be asked if you want to add injections to objects ?