Client: Update ng2-file-upload to the module part
This commit is contained in:
parent
bed3143eb9
commit
c53d2a4e5e
|
@ -61,7 +61,7 @@
|
||||||
"reflect-metadata": "0.1.3",
|
"reflect-metadata": "0.1.3",
|
||||||
"resolve-url-loader": "^1.6.0",
|
"resolve-url-loader": "^1.6.0",
|
||||||
"rxjs": "5.0.0-beta.12",
|
"rxjs": "5.0.0-beta.12",
|
||||||
"sass-loader": "^3.2.3",
|
"sass-loader": "^4.0.2",
|
||||||
"source-map-loader": "^0.1.5",
|
"source-map-loader": "^0.1.5",
|
||||||
"string-replace-loader": "^1.0.3",
|
"string-replace-loader": "^1.0.3",
|
||||||
"style-loader": "^0.13.1",
|
"style-loader": "^0.13.1",
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { removeNgStyles, createNewHosts } from '@angularclass/hmr';
|
||||||
import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
|
import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
|
||||||
import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar';
|
import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar';
|
||||||
import { PaginationModule } from 'ng2-bootstrap/components/pagination';
|
import { PaginationModule } from 'ng2-bootstrap/components/pagination';
|
||||||
import { FileSelectDirective } from 'ng2-file-upload/ng2-file-upload';
|
import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Platform and Environment providers/directives/pipes
|
* Platform and Environment providers/directives/pipes
|
||||||
|
@ -84,7 +84,6 @@ const APP_PROVIDERS = [
|
||||||
AdminComponent,
|
AdminComponent,
|
||||||
AppComponent,
|
AppComponent,
|
||||||
BytesPipe,
|
BytesPipe,
|
||||||
FileSelectDirective,
|
|
||||||
FriendAddComponent,
|
FriendAddComponent,
|
||||||
FriendListComponent,
|
FriendListComponent,
|
||||||
FriendsComponent,
|
FriendsComponent,
|
||||||
|
@ -113,7 +112,8 @@ const APP_PROVIDERS = [
|
||||||
RouterModule.forRoot(routes),
|
RouterModule.forRoot(routes),
|
||||||
|
|
||||||
ProgressbarModule,
|
ProgressbarModule,
|
||||||
PaginationModule
|
PaginationModule,
|
||||||
|
FileUploadModule
|
||||||
],
|
],
|
||||||
providers: [ // expose our Services and Providers into Angular's dependency injection
|
providers: [ // expose our Services and Providers into Angular's dependency injection
|
||||||
ENV_PROVIDERS,
|
ENV_PROVIDERS,
|
||||||
|
|
Loading…
Reference in New Issue