import { CommunicationManager , Container , Runtime } from ".." ; param container returns export function provideComponents ( container ) { return [ { provide : Container , useValue : container } , { provide : Runtime , useValue : container . runtime } , { provide : CommunicationManager , useValue : container . communicationManager } , ... container . mapControllers ( ( controllerName , controllerType , controller ) => { return { provide : controllerType , useValue : controller } ; } ) , ] ; }