Angular.js style dependency injection using reflection.