diff options
Diffstat (limited to 'client/src/app/account')
-rw-r--r-- | client/src/app/account/account.component.ts | 8 | ||||
-rw-r--r-- | client/src/app/account/index.ts | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/client/src/app/account/account.component.ts b/client/src/app/account/account.component.ts index 54939f43b..a22738d3f 100644 --- a/client/src/app/account/account.component.ts +++ b/client/src/app/account/account.component.ts | |||
@@ -1,15 +1,13 @@ | |||
1 | import { Validators } from '@angular/common'; | 1 | import { } from '@angular/common'; |
2 | import { Component, OnInit } from '@angular/core'; | 2 | import { Component, OnInit } from '@angular/core'; |
3 | import { FormControl, FormGroup, REACTIVE_FORM_DIRECTIVES } from '@angular/forms'; | 3 | import { FormControl, FormGroup, Validators } from '@angular/forms'; |
4 | import { Router } from '@angular/router'; | 4 | import { Router } from '@angular/router'; |
5 | 5 | ||
6 | import { AccountService } from './account.service'; | 6 | import { AccountService } from './account.service'; |
7 | 7 | ||
8 | @Component({ | 8 | @Component({ |
9 | selector: 'my-account', | 9 | selector: 'my-account', |
10 | template: require('./account.component.html'), | 10 | template: require('./account.component.html') |
11 | providers: [ AccountService ], | ||
12 | directives: [ REACTIVE_FORM_DIRECTIVES ] | ||
13 | }) | 11 | }) |
14 | 12 | ||
15 | export class AccountComponent implements OnInit { | 13 | export class AccountComponent implements OnInit { |
diff --git a/client/src/app/account/index.ts b/client/src/app/account/index.ts index 7445003fd..823d9fe5f 100644 --- a/client/src/app/account/index.ts +++ b/client/src/app/account/index.ts | |||
@@ -1,2 +1,3 @@ | |||
1 | export * from './account.component'; | 1 | export * from './account.component'; |
2 | export * from './account.routes'; | 2 | export * from './account.routes'; |
3 | export * from './account.service'; | ||