{"id":13393166,"url":"https://github.com/johnpapa/angular-styleguide","last_synced_at":"2025-12-16T21:02:14.216Z","repository":{"id":19132415,"uuid":"22362099","full_name":"johnpapa/angular-styleguide","owner":"johnpapa","description":"Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.","archived":false,"fork":false,"pushed_at":"2022-05-19T15:18:13.000Z","size":4140,"stargazers_count":23829,"open_issues_count":78,"forks_count":4135,"subscribers_count":1331,"default_branch":"master","last_synced_at":"2025-04-23T17:16:53.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://johnpapa.net","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnpapa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-29T00:07:51.000Z","updated_at":"2025-04-22T20:48:04.000Z","dependencies_parsed_at":"2022-07-12T23:50:38.022Z","dependency_job_id":null,"html_url":"https://github.com/johnpapa/angular-styleguide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpapa%2Fangular-styleguide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpapa%2Fangular-styleguide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpapa%2Fangular-styleguide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpapa%2Fangular-styleguide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnpapa","download_url":"https://codeload.github.com/johnpapa/angular-styleguide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253765310,"owners_count":21960706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T17:00:44.470Z","updated_at":"2025-12-16T21:02:09.173Z","avatar_url":"https://github.com/johnpapa.png","language":null,"readme":"# Angular Style Guide\n\n## Versions\nThere are multiple versions of Angular, and thus there are multiple versions of the guide. Choose your guide appropriately.\n\n### Angular 1 Style Guide\n[The Angular 1 Style Guide](https://github.com/johnpapa/angular-styleguide/tree/master/a1/README.md).\n\n### Angular 2 Style Guide\n[The Angular 2 Style Guide](https://github.com/johnpapa/angular-styleguide/tree/master/a2/README.md).\n\n## Angular Team Endorsed\nSpecial thanks to Igor Minar, lead on the Angular team, for reviewing, contributing feedback, and entrusting me to shepherd this guide.\n\n## Purpose\n*Opinionated Angular style guide for teams by [@john_papa](//twitter.com/john_papa)*\n\nIf you are looking for an opinionated style guide for syntax, conventions, and structuring Angular applications, then step right in. These styles are based on my development experience with [Angular](//angularjs.org), presentations, [Pluralsight training courses](http://app.pluralsight.com/author/john-papa) and working in teams.\n\nThe purpose of this style guide is to provide guidance on building Angular applications by showing the conventions I use and, more importantly, why I choose them.\n\n\u003eIf you like this guide, check out my [Angular Patterns: Clean Code](http://jpapa.me/ngclean) course at Pluralsight which is a companion to this guide.\n\n  [![Angular Patterns: Clean Code](https://raw.githubusercontent.com/johnpapa/angular-styleguide/master/a1/assets/ng-clean-code-banner.png)](http://jpapa.me/ngclean)\n\n## Community Awesomeness and Credit\nNever work in a vacuum. I find that the Angular community is an incredible group who are passionate about sharing experiences. Many of my styles have been from the many pair programming sessions [Ward Bell](https://twitter.com/wardbell) and I have had. My most excellent friend Ward has helped influence the ultimate evolution of these guides.\n\n## Contributing\nOpen an issue first to discuss potential changes/additions. If you have questions with the guide, feel free to leave them as issues in the repository. If you find a typo, create a pull request. The idea is to keep the content up to date and use github’s native feature to help tell the story with issues and PR’s, which are all searchable via google. Why? Because odds are if you have a question, someone else does too! You can learn more here at about how to contribute.\n\n*By contributing to this repository you are agreeing to make your content available subject to the license of this repository.*\n\n### Process\n    1. Discuss the changes in a GitHub issue.\n    2. Open a Pull Request, reference the issue, and explain the change and why it adds value.\n    3. The Pull Request will be evaluated and either merged or declined.\n\n## License\n\n_tldr; Use this guide. Attributions are appreciated._\n\n### Copyright\n\nCopyright (c) 2014-2016 [John Papa](http://johnpapa.net)\n\n### (The MIT License)\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n**[Back to top](#angular-style-guide)**\n","funding_links":[],"categories":["Others","Style Guides","others","Frameworks","AngularJS","JavaScript","Style Guides \u0026 best practices","Best Practice ##","Angular","Web Development Lexicon","Other","Styleguides"],"sub_categories":["AngularJS","Version 1.x ###","Angular","JavaScript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpapa%2Fangular-styleguide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnpapa%2Fangular-styleguide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpapa%2Fangular-styleguide/lists"}