1
|
import { NgModule} from '@angular/core';
|
2
|
import { CommonModule } from '@angular/common';
|
3
|
import { FormsModule } from '@angular/forms';
|
4
|
|
5
|
import{SearchOrganizationsComponent} from './searchOrganizations.component';
|
6
|
|
7
|
import {SearchResultsModule } from '../searchUtils/searchResults.module';
|
8
|
|
9
|
import {OrganizationsServiceModule} from '../../services/organizationsService.module';
|
10
|
import {SearchFormModule} from '../searchUtils/searchForm.module';
|
11
|
import {SearchPageModule} from '../searchUtils/searchPage.module';
|
12
|
import {FreeGuard} from'../../login/freeGuard.guard';
|
13
|
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
14
|
|
15
|
@NgModule({
|
16
|
imports: [
|
17
|
CommonModule, FormsModule,
|
18
|
|
19
|
OrganizationsServiceModule,
|
20
|
SearchFormModule, SearchResultsModule, SearchPageModule
|
21
|
|
22
|
],
|
23
|
declarations: [
|
24
|
SearchOrganizationsComponent
|
25
|
],
|
26
|
providers:[FreeGuard, IsRouteEnabled],
|
27
|
exports: [
|
28
|
SearchOrganizationsComponent
|
29
|
]
|
30
|
})
|
31
|
export class SearchOrganizationsModule { }
|