A micro AngularJS boilerplate for start projects with mocking and routing modules ready,
based on this Best Practice angular-styleguide made by johnpapa.
See this Angular Scaffolding for better and faster developing.
Make a directory and move into it
$ mkdir myFolder
$ cd myFolder
Then clone the boilerplate and install all dependecies
$ git clone https://github.com/damianopetrungaro/AngularJS-boilerplate.git
$ cd AngularJS-boilerplate
$ npm install
For developing env:
With watch and live reload for js and css (or sass)
$ npm run serve
For production env:
Simply return minified code and optimizated images
$ npm run prod
The sample modules have a .mock.js
and .route.js
files.
Those files are used by the core
for pass information to a provider.
If you want to remove a core module, just delete from the resources ( i.e users
) and thecore
directory the file and folder.
Remember also to remove the modules injection to the app.module.js
file