Mapping Dependency Injection

We can discuss the implementation and improvement of mapping di, and how our approach should be to the issue, how can we address the communication between dependencies. How a file should be searched for injection. 
This is just a work of concept, I want to improve the functionality of meanpInject to receive only a name parameter, and using the file the call was originated for as reference, search only internally of that module first and then if no matches are found, look for the first encounter and return it.