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 | 29716c4681f0e016e5f25291e95a143ade39faee (patch) | |
tree | 862047f5836d4dd8be87f7fb93e16f3d7739d499 /Timeline/ClientApp/src/app/app.module.ts | |
parent | 435c2b4e68c06bc2d03b209a3dba0b8918f3bf8c (diff) | |
download | timeline-29716c4681f0e016e5f25291e95a143ade39faee.tar.gz timeline-29716c4681f0e016e5f25291e95a143ade39faee.tar.bz2 timeline-29716c4681f0e016e5f25291e95a143ade39faee.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 { } |