This seed allows you to quickly configure and deploy an angular application. Setup and configurations are kept to a minimal.
I use it as my personal seed to bootstrap all angular v1.x applications.

Source: https://github.com/ottoiovanici/angular-1-seed

Includes

Installation

install npm
install bower
install gulp

Install dependencies

bower install
npm install

Usage

gulp -> Default: runs dev (development) tasks
gulp dev -> runs dev (development) tasks

  • builds:
    • assets-scripts.js
    • assets-styles.css
  • watch for changes on:
    • sass
    • app. JS files
    • app. templates
  • livereload start on localhost:8015

gulp dev-build -> compiles all assets to dist folder

  • assets-scripts.js
  • assets-styles.js
  • app-bundle.js
  • templates.js

gulp prod-build -> compile and minify all assets to dist folder

  • assets-scripts.js
  • assets-styles.js
  • app-bundle.js
  • templates.js

gulp sass -> compiles sass
gulp live-reload-dev -> starts webserver on localhost:8015

Trap for young players

  • in app.js file, angular.module('templates', []); should be loaded BEFORE the main module