summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/modal/modal.module.ts
blob: 892f6993dd3803f63cccbe990cf32c6ced55116c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { NgModule } from "@angular/core";
import { CommonModule } from '@angular/common';
import { ModalService } from 'app/ng2/services/modal.service';
import { ModalComponent } from "app/ng2/components/modal/modal.component";
import { ErrorMessageComponent } from "./error-message/error-message.component";

@NgModule({
    declarations: [
        ModalComponent,
        ErrorMessageComponent
    ],
    imports: [CommonModule],
    exports: [],
    entryComponents: [ //need to add anything that will be dynamically created
        ModalComponent,
        ErrorMessageComponent
    ],
    providers: [ModalService]
})
export class ModalModule {

}