-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
36 lines (33 loc) · 911 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NGLUploadDirective } from "./src/nglupload.directive";
import { NGLUploadComponent } from "./src/nglupload.component";
import { NGLUploadPipe } from "./src/nglupload.pipe";
import { NGLUploadService } from "./src/nglupload.service";
export * from "./src/nglupload.directive";
export * from "./src/nglupload.component";
export * from "./src/nglupload.pipe";
export * from "./src/nglupload.service";
@NgModule({
imports: [
CommonModule
],
declarations: [
NGLUploadComponent,
NGLUploadDirective,
NGLUploadPipe
],
exports: [
NGLUploadComponent,
NGLUploadDirective,
NGLUploadPipe
]
})
export class NGLUploadModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: NGLUploadModule,
providers: [NGLUploadService]
};
}
}