An example of a single module architecture for Angular application with automatic component registration
Read the blog post with reasons why I created this: https://medium.com/@bestander_nz/e8b371330348
Original code taken from https://github.com/tastejs/todomvc/tree/gh-pages/labs/dependency-examples/angularjs_require
- Run
npm install
to download build dependencies - Run
gulp inject-amd-deps
to generate a module that registers all components - Run
gulp dev
to start a watch task that will regenerate the module on every file change