Error loading ng2-file-upload #714
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I installed ng2-file-upload . However application is not able to load it. Failed to load resource error comes.
Can you please advice what I am doing wrong? This is asp.net core application. Gulp copies the ng2-file-upload to lib folder under wwwroot.
app.module
import { FileUploadModule } from 'ng2-file-upload';
import { FileSelectDirective, FileDropDirective, FileUploader } from 'ng2-file-upload/ng2-file-upload';
@NgModule({
imports: [SharedModule,BrowserModule, FormsModule, LoginModule, DataTableModule, FileUploadModule,RouterModule.forRoot([
{ path: 'login', component: LoginComponent },
Systemjs.config.js
(function (global) {
System.config({
map: {
app: 'lib/spa',
})(this);