@angular/core

provideEnvironmentInitializer

function

This function is used to provide initialization functions that will be executed upon construction of an environment injector.

  
    provideEnvironmentInitializer(  initializerFn: () => void): EnvironmentProviders;
  
  
Jump to details