Dependency injection with arrays for minification