blob: 2999528d13fc1188ae34d1db105aa9bba3cc67aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import { NgModule } from "@angular/core";
import { CommonModule } from '@angular/common';
import { AngularDraggableModule } from 'angular2-draggable';
import { ModalService } from 'app/ng2/services/modal.service';
import { ErrorMessageComponent } from "./error-message/error-message.component";
import {ModalComponent} from "./modal.component";
@NgModule({
declarations: [
ModalComponent,
ErrorMessageComponent
],
imports: [CommonModule, AngularDraggableModule],
exports: [ModalComponent, ErrorMessageComponent],
entryComponents: [ //need to add anything that will be dynamically created
ModalComponent,
ErrorMessageComponent
],
providers: [ModalService]
})
export class ModalModule {
}
|