24 lines
1.1 KiB
TypeScript
24 lines
1.1 KiB
TypeScript
import {NgModule} from '@angular/core';
|
|
import {CommonModule} from '@angular/common';
|
|
import {NumbersComponent} from './numbers.component';
|
|
import {IconsModule} from '../../utils/icons/icons.module';
|
|
import {IconsService} from '../../utils/icons/icons.service';
|
|
import {book, cog, database, earth} from '../../utils/icons/icons';
|
|
import {SearchResearchResultsService} from '../../services/searchResearchResults.service';
|
|
import {SearchDataprovidersService} from '../../services/searchDataproviders.service';
|
|
import {RefineFieldResultsService} from '../../services/refineFieldResults.service';
|
|
import {LoadingModule} from '../../utils/loading/loading.module';
|
|
import {RouterModule} from "@angular/router";
|
|
|
|
@NgModule({
|
|
imports: [CommonModule, IconsModule, LoadingModule, RouterModule],
|
|
declarations: [NumbersComponent],
|
|
exports: [NumbersComponent],
|
|
providers: [SearchResearchResultsService, SearchDataprovidersService, RefineFieldResultsService]
|
|
})
|
|
export class NumbersModule {
|
|
constructor(private iconsService: IconsService) {
|
|
this.iconsService.registerIcons([book, database, cog, earth])
|
|
}
|
|
}
|