angularjs

Installation
SKILL.md

Google AngularJS Style Guide

Official Google AngularJS coding standards for consistent Angular 1.x applications.

Note: This guide covers AngularJS (Angular 1.x). For modern Angular (2+), see the Angular style guide.

Golden Rules

  1. One component per file — easier to maintain and test
  2. Use controllerAs syntax — avoid $scope when possible
  3. Services for business logic — keep controllers thin
  4. Explicit dependency injection — array annotation or $inject
  5. Modular structure — organize by feature, not type
  6. Use directives — for DOM manipulation only
  7. Avoid $rootScope — use services for shared state

Quick Reference

Naming Conventions

Installs
2
GitHub Stars
11
First Seen
Sep 14, 2026