import { ReflectiveInjector } from 'injection-js' ; import { HomeController } from '../controllers/home.controller' ; const injector = ReflectiveInjector . resolveAndCreate ( [ { provide : HomeController , useClass : HomeController } ] ) ; export { injector as Container } ;