import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import {FormsModule} from '@angular/forms' import {MaterialModule} from '@angular/material'; import { ProfileOverviewComponent } from './profiles/profile-overview/profile-overview.component'; import {ProfileService} from './services/profiles.service'; import {PROFILE_DECLARATIONS} from './profiles/detail/index' import {DIALOGS_DECLARATIONS, DIALOGS_ENTRYCOMPONENTS} from './dialogs/index'; import {app_routing} from './app.routing'; import {FriendbookComponent} from './friendbook.component'; @NgModule({ imports: [ BrowserModule, FormsModule, app_routing, MaterialModule.forRoot() ], declarations: [ FriendbookComponent, ProfileOverviewComponent, ...PROFILE_DECLARATIONS, ...DIALOGS_DECLARATIONS ], entryComponents:[ ...DIALOGS_ENTRYCOMPONENTS ], providers:[ ProfileService, ], bootstrap: [ FriendbookComponent ] }) export class FriendbookModule { }