dgService kind description export function getInjectablesFactory ( injector ) { return function ( factories ) { return factories . map ( function ( factory ) { const instance = injector . invoke ( factory ) ; if ( ! instance . name ) { instance . name = factory . name ; } return instance ; } ) ; } ; } ;