AngularJS-Boilerplate

Simple AngularJS Boilerplate to kick start your new project with SASS support and Gulp watch/build tasks

Features

SASS support including sourceMaps

Minimal CSS styling of the view

Gulp watch, build and local server tasks

Responsive navigation

Owl slider directive

localStorage service for set, get, remove data

queryService $http wrapper to handle calls

clear folder structure

less than 10 request in build version

minified CSS and JS build files

google analytics snippet

Download

bower install angularjs-boilerplate

or

git clone https://github.com/jbutko/AngularJS-Boilerplate.git

1. Setup

npm install

install all npm and bower dependencies

Note: If npm install fails during dependency installation it will be likely caused by gulp-imagemin. In that case remove gulp-imagemin dependency from package.json, run npm install again and then install gulp-imagemin separately with following command: npm install gulp-imagemin --save-dev

2. Watch files

npm start

or

gulp

all SCSS/HTML will be watched for changes and injected into browser thanks to BrowserSync