Credit to devdocs.io

angular 2.0_typescript

angular

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–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/core/index/ModuleWithProviders-interface.html