mhevery/angular.js — comment on commit 638125707adb30c4d617b0c85f48687d94a5a561
File: src/Injector.js line 262
By mhevery:

I am not sure you are following the reasons. This is the only way to instantiate a class in JS dynamically.