26 lines
628 B
TypeScript
26 lines
628 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { CommonModule } from '@angular/common';
|
||
|
import { FormsModule } from '@angular/forms';
|
||
|
|
||
|
// import { RouterModule } from "@angular/router";
|
||
|
|
||
|
import {HelperComponent} from './helper.component';
|
||
|
// import {HelperServiceModule} from './helperService.module';
|
||
|
import {HelperService} from './helper.service';
|
||
|
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
CommonModule, FormsModule,
|
||
|
// RouterModule//,HelperServiceModule
|
||
|
],
|
||
|
declarations: [
|
||
|
HelperComponent
|
||
|
],
|
||
|
providers:[HelperService],
|
||
|
exports: [
|
||
|
HelperComponent
|
||
|
]
|
||
|
})
|
||
|
export class HelperModule{ }
|