finds.dev

johnpapa/angular-styleguide

Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.

View on GitHubHomepage ↗

★ 23,647Vim SnippetMITupdated Apr 2026

// the take

John Papa's Angular style guide — primarily for AngularJS 1.x, with a stub for Angular 2. It was the canonical community reference for AngularJS teams around 2014–2016, endorsed by the Angular core team. In 2026, it's a historical artifact.

The AngularJS 1.x guide is genuinely thorough: it covers module structure, controller-as syntax, IIFE wrapping, named functions over anonymous, and explains the *why* behind each choice rather than just dictating rules. The editor snippet collection (VS Code, WebStorm, Vim, Sublime, Emacs) was unusually complete for its era. Community translations into 13 languages reflect real adoption. The 'why' explanations are still a decent model for how to write a style guide.

AngularJS 1.x hit end-of-life in December 2021, so the main guide is for a dead framework. The Angular 2+ section is a near-empty stub pointing to a separate document — there's no equivalent modern guide here. The repo is still receiving commits in 2026 but the content hasn't materially evolved since ~2016. Anyone starting a new Angular project today gets zero value from this; it only matters if you're maintaining legacy AngularJS code.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
23,647
Forks
4,042
Language
Vim Snippet
License
MIT
Last commit
30 Apr 2026

// nearby

If angular-styleguide isn't quite it.

All repos →