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
22
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
cd
command - Run
npm install
. This will install the dependencies. - Run
npm link
. This will set theboilerplate
command into the Path so thatboilerplate
command can be accessed anywhere from cmd or Terminal app.
Usage -
- Create a directoy
mkdir AwesomeProject
- Initialize the app
boilerplate init
and 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, filters
andservices
can be created - For help try the command
boilerplate help
.
Folder Structure -
Refer the example folder in this directory for the folder structure.