fix(injector): allow using static injector without transformers

It was failing for me locally, not sure why. Reverted.