The ng module for the server.
注解
@NgModule({ exports: [BrowserModule], imports: [HttpModule, HttpClientModule, NoopAnimationsModule], providers: [ SERVER_RENDER_PROVIDERS, SERVER_HTTP_PROVIDERS, { provide: Testability, useValue: null }, { provide: ViewportScroller, useClass: NullViewportScroller }, ] })