> ## Content Index
> Fetch the complete content index at: https://www.binarysludge.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Google's AngularJS Style Guide
- URL: https://www.binarysludge.com/2014/02/18/googles-angularjs-style-guide/
- Published: 2014-02-18T17:25:02.000Z
- Updated: 2014-02-18T17:25:03.000Z
- Author: Andrew Martin
- Tags: Karma, Javascript, Programming, software engineering, source code, TDD, Unit Testing, AngularJS, #Import 2026-10-22 12:56

Google have published their internal [AngularJS Style Guide](https://google-styleguide.googlecode.com/svn/trunk/angularjs-google-style.html?ref=binarysludge.com). It contains language and style rules, a basic naming convention (i.e. don't use $ as a variable prefix), test-driven recommendations (use Jasmine and Karma), a link to newly-published [directory structure recommendations](https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub?ref=binarysludge.com), a [guide to scope and prototypal inheritance](https://github.com/angular/angular.js/wiki/Understanding-Scopes?ref=binarysludge.com#wiki-JSproto) and an ngInject example.