A angular spa application with gulp webpack and ui-router oclazyload
- Use webpack you can concat all files into one file when the browser load js file; however, you can also use browserify to do it.
- use this method to setup angular project, you can put your common function code into an individual module and then use require to load the module you wanted;
- with gulp, you can livereload tools on your develop env.