Add a module for safeHTMLPipe
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51839 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
881ea5443d
commit
5c25acb63b
|
@ -3,18 +3,18 @@ import { CommonModule } from '@angular/common';
|
|||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import {AltMetricsComponent} from './altmetrics.component';
|
||||
import {SafeHtmlPipe} from './pipes/safeHTML.pipe';
|
||||
import {SafeHtmlPipeModule} from './pipes/safeHTMLPipe.module';
|
||||
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule, FormsModule
|
||||
CommonModule, FormsModule, SafeHtmlPipeModule
|
||||
],
|
||||
declarations: [
|
||||
AltMetricsComponent, SafeHtmlPipe
|
||||
AltMetricsComponent
|
||||
],
|
||||
exports: [
|
||||
AltMetricsComponent, SafeHtmlPipe
|
||||
AltMetricsComponent
|
||||
]
|
||||
})
|
||||
export class AltMetricsModule { }
|
||||
|
|
|
@ -7,16 +7,15 @@ import { FormsModule } from '@angular/forms';
|
|||
import {HelperComponent} from './helper.component';
|
||||
// import {HelperServiceModule} from './helperService.module';
|
||||
import {HelperService} from './helper.service';
|
||||
import {SafeHtmlPipe} from '../pipes/safeHTML.pipe';
|
||||
import {SafeHtmlPipeModule} from '../pipes/safeHTMLPipe.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule, FormsModule,
|
||||
CommonModule, FormsModule,SafeHtmlPipeModule
|
||||
// RouterModule//,HelperServiceModule
|
||||
],
|
||||
declarations: [
|
||||
HelperComponent,
|
||||
SafeHtmlPipe
|
||||
HelperComponent
|
||||
],
|
||||
providers:[HelperService],
|
||||
exports: [
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
|
||||
|
||||
import {SafeHtmlPipe} from './safeHTML.pipe';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
|
||||
],
|
||||
declarations: [
|
||||
SafeHtmlPipe
|
||||
],
|
||||
providers:[],
|
||||
exports: [
|
||||
SafeHtmlPipe
|
||||
]
|
||||
})
|
||||
|
||||
|
||||
export class SafeHtmlPipeModule{
|
||||
|
||||
}
|
Loading…
Reference in New Issue