ModuleWithProviders

Stable Interface

Interface Overview

interface ModuleWithProviders {
  ngModule : Type<any>
  providers : Provider[]
}

Interface Description

A wrapper around a module that also includes the providers.

Interface Details

ngModule : Type<any>
providers : Provider[]

exported from @angular/core/index, defined in @angular/core/src/metadata/ng_module.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/ModuleWithProviders-interface.html