NG6 is a starter project for building single-page applications with AngularJS 1.x, modern ES6 JavaScript, and Webpack as the module bundler. It provides a minimal but opinionated boilerplate that shows best practices for structuring a scalable Angular app using a fully componentized file layout. The project wires together Webpack and Babel to handle ES6 transpilation, asset bundling, and hot reloading during development. Gulp is used as an orchestrator to run Webpack, start a development server, and generate Angular boilerplate via tasks. The repository also includes a complete testing setup using Karma, Mocha, Chai, and Webpack so tests run through the same pipeline as application code. Styles are handled via SASS (node-sass), with each component encouraged to bundle its own styles, templates, and tests for strong locality. Overall, NG6-starter is designed as a “de facto” reference for developers who want to learn and adopt a modern workflow.
Features
- Componentized AngularJS 1.x architecture with isolated folders per feature
- ES6-first codebase compiled via Babel and bundled with Webpack
- Gulp-based task runner to orchestrate builds, dev server, and code generation
- Built-in testing stack using Karma, Mocha, Chai, and Webpack-powered specs
- SASS support with per-component styles and automatic DOM injection
- Ready-made npm scripts for building, serving, and watching the app