forked from canvasoft/ng-leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
35 lines (33 loc) · 933 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
import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LeafletComponent } from './src/components/leaflet.component';
import { SampleDirective } from './src/directives/sample.directive';
import { SamplePipe } from './src/pipes/sample.pipe';
import { SampleService } from './src/services/sample.service';
export * from './src/components/leaflet.component';
export * from './src/directives/sample.directive';
export * from './src/pipes/sample.pipe';
export * from './src/services/sample.service';
@NgModule({
imports: [
CommonModule
],
declarations: [
LeafletComponent ,
SampleDirective,
SamplePipe
],
exports: [
LeafletComponent,
SampleDirective,
SamplePipe
]
})
export class UiLeafletModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: UiLeafletModule,
providers: [SampleService]
};
}
}