import { KeysPipe } from './keys.pipe'; import { ApiContainerService } from './api-container.service'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { ApiContainerComponent } from './api-container.component'; import { CosmosModule } from '../../../../../components/cosmos.module'; @NgModule({ declarations: [ ApiContainerComponent, KeysPipe ], imports: [ HttpModule, FormsModule, BrowserModule, BrowserAnimationsModule, CosmosModule.forChild() ], providers: [ApiContainerService], exports: [ApiContainerComponent, KeysPipe] }) export class ApiContainerModule { }