Format provider by injection seems to be work fine.