@angular/core

providePlatformInitializer

function

This function is used to provide initialization functions that will be executed upon initialization of the platform injector.

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