@angular/core

providePlatformInitializer

function

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

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