Example of how to use factory when the dependencies are used both from the injector and the instance's creator.