]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/eg2/src/app/core/core.module.ts
LP1825851 Server managed/processed print templates
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / core / core.module.ts
1 /**
2  * Core objects.
3  * Note that core services are generally defined with
4  * @Injectable({providedIn: 'root'}) so they are globally available
5  * and do not require entry in our 'providers' array.
6  */
7 import {NgModule} from '@angular/core';
8 import {CommonModule, DatePipe, CurrencyPipe} from '@angular/common';
9 import {FormatService, FormatValuePipe} from './format.service';
10
11 @NgModule({
12   declarations: [
13     FormatValuePipe
14   ],
15   imports: [
16     CommonModule
17   ],
18   exports: [
19     CommonModule,
20     FormatValuePipe
21   ],
22   providers: [
23     DatePipe,
24     CurrencyPipe
25   ]
26 })
27
28 export class EgCoreModule {}
29