openaire-library/searchPages/searchProjects.module.ts

27 lines
751 B
TypeScript

import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {FreeGuard} from '../login/freeGuard.guard';
import {IsRouteEnabled} from '../error/isRouteEnabled.guard';
import {NewSearchPageModule} from "./searchUtils/newSearchPage.module";
import {SearchProjectsComponent} from "./searchProjects.component";
import {ProjectsServiceModule} from "../services/projectsService.module";
@NgModule({
imports: [
CommonModule, FormsModule,
ProjectsServiceModule,
NewSearchPageModule
],
declarations: [
SearchProjectsComponent
],
providers: [FreeGuard, IsRouteEnabled],
exports: [
SearchProjectsComponent
]
})
export class SearchProjectsModule {
}