ModuleWithProviders

interface

npm Package @angular/core
Module import { ModuleWithProviders } from '@angular/core';
Source core/src/metadata/ng_module.ts

Interface Overview

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

Description

A wrapper around a module that also includes the providers.

Members

ngModule: Type<any>

providers?: Provider[]

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/ModuleWithProviders