feat(inject): add treatDefaultAsFactory argument
#503
Merged
treatDefaultAsFactory argument
#503