// the find
toddmotto/angularjs-styleguide
AngularJS styleguide for teams
A style guide for structuring AngularJS 1.5+ applications using ES2015 — component architecture, one-way data flow, modular file layout. Written by Todd Motto when he was the go-to AngularJS educator. Aimed at teams stuck maintaining AngularJS apps who want a principled approach before migrating.
The component/stateful/stateless distinction is clearly explained and still maps 1:1 to React or Angular concepts, so it has genuine educational value beyond AngularJS. The file naming and folder structure conventions are concrete and opinionated — no hand-waving. The directive section correctly demotes directives to DOM-decoration-only, which was the right call and often ignored. The EventEmitter pattern for bubbling events up mirrors Angular and eases eventual migration.
AngularJS reached end-of-life in December 2021; this guide has been effectively frozen since 2018 and the last push was 2022, which means nothing here will receive updates. The Redux suggestion is a footnote with no real depth — anyone actually needing state management in AngularJS deserved more than one line. The tooling section recommends webpack via ngtemplate-loader and gulp/grunt setups that no new project would touch today. There is no TypeScript section beyond 'consider using TypeScript' — the typescript/ directory exists but is thin.