borisyankov/DefinitelyTyped — pull request #450 by DerAlbertCom (2013-04-03 11:45:09+00:00)
Title: ng.IModule improvements

with angular it is possible to register controllers, directives
etc. per convention if you create an object which has the
functions defined.

So that your module initialization must not know every controller
etc.

As an example look at

https://github.com/DerAlbertCom/SignagePages/blob/develop/src/SignagePages/app/app.ts
https://github.com/DerAlbertCom/SignagePages/blob/develop/src/SignagePages/app/LoginController.js
https://github.com/DerAlbertCom/SignagePages/blob/develop/src/SignagePages/app/DailyMealsController.ts