angularjs

Installation
SKILL.md

AngularJS Skill

Note: AngularJS (1.x) is in Long-Term Support (LTS). New projects should use Angular (2+). These guidelines cover maintaining legacy AngularJS code and migrating it incrementally to modern Angular.

Code Style & Conventions

  • Follow the John Papa AngularJS Style Guide as the canonical reference.
  • One component / controller / service per file.
  • Use IIFE wrappers to avoid polluting the global scope.
  • Use the controllerAs syntax (vm alias) instead of $scope in controllers.
  • Name files: feature.type.js (e.g., user.controller.js, auth.service.js).
  • Prefix custom directives with a short app-specific namespace (e.g., app-user-card).
  • Follow existing code style and conventions in the project — consistency over strict adherence.

Components & Controllers

Installs
2
First Seen
May 20, 2026
angularjs — jcchikikomori/skills-md