diff options
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r-- | client/src/app/app.module.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index f9a9ae760..980625f13 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -8,7 +8,7 @@ import { removeNgStyles, createNewHosts } from '@angularclass/hmr'; | |||
8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; | 8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; |
9 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; | 9 | import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar'; |
10 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; | 10 | import { PaginationModule } from 'ng2-bootstrap/components/pagination'; |
11 | import { FileSelectDirective } from 'ng2-file-upload/ng2-file-upload'; | 11 | import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'; |
12 | 12 | ||
13 | /* | 13 | /* |
14 | * Platform and Environment providers/directives/pipes | 14 | * Platform and Environment providers/directives/pipes |
@@ -84,7 +84,6 @@ const APP_PROVIDERS = [ | |||
84 | AdminComponent, | 84 | AdminComponent, |
85 | AppComponent, | 85 | AppComponent, |
86 | BytesPipe, | 86 | BytesPipe, |
87 | FileSelectDirective, | ||
88 | FriendAddComponent, | 87 | FriendAddComponent, |
89 | FriendListComponent, | 88 | FriendListComponent, |
90 | FriendsComponent, | 89 | FriendsComponent, |
@@ -113,7 +112,8 @@ const APP_PROVIDERS = [ | |||
113 | RouterModule.forRoot(routes), | 112 | RouterModule.forRoot(routes), |
114 | 113 | ||
115 | ProgressbarModule, | 114 | ProgressbarModule, |
116 | PaginationModule | 115 | PaginationModule, |
116 | FileUploadModule | ||
117 | ], | 117 | ], |
118 | providers: [ // expose our Services and Providers into Angular's dependency injection | 118 | providers: [ // expose our Services and Providers into Angular's dependency injection |
119 | ENV_PROVIDERS, | 119 | ENV_PROVIDERS, |