Trying to get my head around how to organize the code in javascript with typescript
AMD, Common JS , ES6 , require JS ....
https://github.com/sriram-alagappa/angular-typescript/tree/master
http://www.developerhandbook.com/typescript/writing-angularjs-1-x-with-typescript/
http://blog.charto.net/node-js/Publishing-TypeScript-based-modules-on-npm/
http://stackoverflow.com/questions/16521471/relation-between-commonjs-amd-and-requirejs
https://blog.oio.de/2014/01/31/an-introduction-to-typescript-module-system/
http://addyosmani.com/resources/essentialjsdesignpatterns/book/#constructorpatternjavascript
http://www.dotnetcurry.com/angularjs/1016/angularjs-typescript-single-page-apps-spa