Help Angular by taking a 1 minute survey!Go to surveyHome

ServerModule

The ng module for the server.

class ServerModule { }
      
      class ServerModule {
}
    

Providers

Provider
SERVER_RENDER_PROVIDERS
      
      SERVER_RENDER_PROVIDERS
    
SERVER_HTTP_PROVIDERS
      
      SERVER_HTTP_PROVIDERS
    
{ provide: Testability, useValue: null }
      
      { provide: Testability, useValue: null }
    
{ provide: ViewportScroller, useClass: NullViewportScroller }
      
      { provide: ViewportScroller, useClass: NullViewportScroller }