angular-boilerplate-cli
v1.0.3
Published
During Development adding Controllers, Service, Factories, Filters, Directives, Jasmin Unit Test Cases and RWD CSS Styles with automatic Routing Configuration and index.html linking. It will speed up the development.
Downloads
52
Readme
AngularJS Boilerplate NodeJS Based CLI - MVC and Jasmin and Karma Unit Testcases
Installation -
Using NPM -
npm install -g angular-boilerplate-cli
Using Git -
- Download/Clone this git repository into the local machin and keep this folder into a safe place.
- Open cmd or Terminal app and go to this directry using
cdcommand - Run
npm install. This will install the dependencies. - Run
npm link. This will set theboilerplatecommand into the Path so thatboilerplatecommand can be accessed anywhere from cmd or Terminal app.
Usage -
- Create a directoy
mkdir AwesomeProject - Initialize the app
boilerplate initand provide the required information like ng-app module name etc. - Add controller using
boilerplate controller add. This will create the controller into src/app folder. - Similary
factory, directives, filtersandservicescan be created - For help try the command
boilerplate help.
Folder Structure -
Refer the example folder in this directory for the folder structure.

