0.0.10 • Published 8 years ago
angular-components-cli v0.0.10
angular-components-cli
Nodejs CLI to generate all needed files in angular when creating components and services with the best practices
Global install
npm install angular-components-cli -ghow to use it
angularjs component [component-name]angularjs service [service-name]Example
angularjs component my-component
// Generates the files with needed code:
my-component.component.js
my-component.controller.js
my-component.spec.js
my-component.htmlangularjs service my-service
// Generates the file with needed code:
my-service.service.jsTODO
Make support for:
- Factories
- Directives