|
@ -3,10 +3,11 @@ import { BrowserModule } from '@angular/platform-browser'; |
|
|
import { FormsModule } from '@angular/forms'; |
|
|
import { FormsModule } from '@angular/forms'; |
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component'; |
|
|
import { AppComponent } from './app.component'; |
|
|
|
|
|
import { DecimalValidatorDirective } from './decimal-validator.directive'; |
|
|
|
|
|
|
|
|
@NgModule({ |
|
|
@NgModule({ |
|
|
imports: [ BrowserModule, FormsModule ], |
|
|
imports: [ BrowserModule, FormsModule ], |
|
|
declarations: [ AppComponent ], |
|
|
|
|
|
|
|
|
declarations: [ AppComponent, DecimalValidatorDirective ], |
|
|
bootstrap: [ AppComponent ] |
|
|
bootstrap: [ AppComponent ] |
|
|
}) |
|
|
}) |
|
|
export class AppModule { } |
|
|
export class AppModule { } |