borisyankov/DefinitelyTyped — pull request #15 by diegovilar (2012-10-25 05:25:28+00:00)
Title: Definitions for AngularJS 1.0.2

Don't know if you're familiarized with Angular, but the reason I chose to split the modules in multiple files is because Angular itself does that. It does not come in one single file, and for a good reason: those modules, when loaded, either augment or modify the main Angular module (ng).

Having them in separate files, just like the Angular distribution itself, allows for the user to reference the definitions of the modules he/she is actually including and, thus, get the proper interfaces.

Wrote a wiki page with some considerations.

I'll be writing some tests next...