import { NgModule } from "@angular/core";
import { LOCALE_ID } from '@angular/core';
import { BrowserModule } from "@angular/platform-browser";
import { ModelModule } from "./model/model.module";
import { CoreModule } from "./core/core.module";
import { TableComponent } from "./core/table.component";
import { FormComponent } from "./core/form.component";
import { MessageModule } from "./messages/message.module";
import { MessageComponent } from "./messages/message.component";

@NgModule({
    imports: [BrowserModule, ModelModule, CoreModule, MessageModule],
    bootstrap: [TableComponent, FormComponent, MessageComponent],
    providers: [{ provide: LOCALE_ID, useValue: "pl-PL" }]
})
export class AppModule { }
