diff options
author | crupest <crupest@outlook.com> | 2019-03-13 22:04:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-13 22:04:09 +0800 |
commit | 5bfbb5020904eadba298fdc094172d1c12879278 (patch) | |
tree | 366d295d64bc5447caca2f3a87a188151a7239bd /Timeline/ClientApp/src/app/app.module.ts | |
parent | eb6cef70b6f9d1060556592dbf474cf54a174902 (diff) | |
download | timeline-5bfbb5020904eadba298fdc094172d1c12879278.tar.gz timeline-5bfbb5020904eadba298fdc094172d1c12879278.tar.bz2 timeline-5bfbb5020904eadba298fdc094172d1c12879278.zip |
Use route to control user dialog.
Diffstat (limited to 'Timeline/ClientApp/src/app/app.module.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/app.module.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/app.module.ts b/Timeline/ClientApp/src/app/app.module.ts index 85c4c43d..b75e10e2 100644 --- a/Timeline/ClientApp/src/app/app.module.ts +++ b/Timeline/ClientApp/src/app/app.module.ts @@ -9,6 +9,7 @@ import { AppComponent } from './app.component'; import { TodoModule } from './todo/todo.module'; import { HomeModule } from './home/home.module'; import { UserModule } from './user/user.module'; +import { UserService } from './user/user.service'; @NgModule({ @@ -22,6 +23,7 @@ import { UserModule } from './user/user.module'; { path: '', redirectTo: '/home', pathMatch: 'full' }, ]) ], + providers: [UserService], bootstrap: [AppComponent] }) export class AppModule { } |