This is AngularJS (v 1.0) based development ready template to build awesome web-apps in Angular. This template has features like => - Browserify module to bundle all js files (minmizing network requests). - Uglify module to minify and uglify js files. - CleanCSS module to minify css files. - Saas Module to convert saas/scss code to css code.
Once you have downloaded code and extracted in a folder, run "npm install" from cmd/terminal to install all the npm packages & dependencies.
Things you need to install before you start development
1. NodeJS (> v4.4) https://nodejs.org/en/download/
2. Gulp installed globally (npm install -g gulp)
Once prerequists are installed, run "npm install" command, then you need to run gulp to start/setup development environment, in "dist" folder Use "Ctrl + C" to stop and quit development server anytime.
$> npm install
$> gulp
Run "gulp build" to create production build under "prod" folder
$> gulp build
- View the samples for writing controllers, services and directives as given.
- Use of tabs for indentation & not spaces (Tab size: 2).
- Use config file to keep all dynamic/server related information.
- Indentation with tabs.
- No whitespace at the end of line or on blank lines.
- Lines should usually be no longer than 80 characters, and should not exceed 100 (counting tabs as 4 spaces). This is a “soft” rule, but long lines generally indicate unreadable or disorganized code.
- There should be a new line at the end of each file.
- For more:
js Standards - http://javascript.crockford.com/code.html, https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/
HTML - http://www.w3schools.com/html/html5_syntax.asp, http://codeguide.co/
CSS - https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/
Coming Soon