Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angular/angular.js
AngularJS - HTML enhanced for web apps!
https://github.com/angular/angular.js
Last synced: about 1 month ago
JSON representation
AngularJS - HTML enhanced for web apps!
- Host: GitHub
- URL: https://github.com/angular/angular.js
- Owner: angular
- License: mit
- Archived: true
- Created: 2010-01-06T00:34:37.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T17:43:16.000Z (7 months ago)
- Last Synced: 2024-09-28T23:03:51.098Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://angularjs.org
- Size: 97.1 MB
- Stars: 58,841
- Watchers: 3,774
- Forks: 27,516
- Open Issues: 463
-
Metadata Files:
- Readme: README.closure.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-frontend-lib - AngularJS
- awesome-github-repos - angular/angular.js - AngularJS - HTML enhanced for web apps! (JavaScript)
- my-awesome - angular.js - HTML enhanced for web apps (JavaScript)
- awesome-github-star - angular.js - HTML enhanced for web apps! | angular | 59080 | (JavaScript)
- awesome-javascript - angular.js - AngularJS - HTML enhanced for web apps! - ★ 59250 (MVC Frameworks and Libraries)
- awesome-javascript - angular.js - HTML enhanced for web apps. (deprecated) (MVC Frameworks and Libraries / Runner)
- starred-awesome - angular.js - AngularJS - HTML enhanced for web apps! (JavaScript)
README
Using AngularJS with the Closure Compiler
=========================================The Closure Compiler project contains definitions for the AngularJS JavaScript
in its `contrib/externs` directory.The definitions contain externs for use with the Closure compiler (aka
JSCompiler). Passing these files to the --externs parameter of a compiler
pass allows using type annotations for AngularJS objects. For example,
AngularJS's $scope objects can be annotated as:
```js
/** @type {angular.Scope} */
var scope = $scope;
```This allows JSCompiler to type check accesses to scope, give warnings about
missing methods or incorrect arguments, and also prevents renaming of property
accesses with advanced compilation.The externs are incomplete and maintained on an as-needed basis, but strive to
be correct. Externs for individual modules should be added in separate files.See https://developers.google.com/closure/compiler/