Add resource injection in ioc module