
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
angular-material-fileupload
Advanced tools
A fileupload component based on angular-material design
angular-material-fileupload API doc
The module to be imported is "MatFileUploadModule"
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { MatButtonModule } from '@angular/material';
import { AppComponent } from './app.component';
import { MatFileUploadModule } from 'angular-material-fileupload';
@NgModule({
imports: [
MatButtonModule,
BrowserModule,
MatFileUploadModule
],
declarations: [
AppComponent
],
bootstrap: [ AppComponent ]
})
export class AppModule { }

<label for="singleFile">Upload file</label>
<input id="singleFile" type="file" [fileUploadInputFor]= "fileUploadQueue"/>
<br>
<mat-file-upload-queue #fileUploadQueue
[fileAlias]="'file'"
[httpUrl]="'http://localhost:8180/jax-rs-jersey-application-sample'">
<mat-file-upload [file]="file" [id]="i" *ngFor="let file of fileUploadQueue.files; let i = index"></mat-file-upload>
</mat-file-upload-queue>
Notes

<div [fileUploadInputFor]="fileUploadQueue" class="upload-drop-zone">
Just drag and drop files here
</div>
<div style="width: 500px">
<mat-file-upload-queue #fileUploadQueue
[fileAlias]="'file'"
[httpUrl]="'http://localhost:8180/jax-rs-jersey-application-sample'" multiple>
<mat-file-upload [file]="file" [id]="i" *ngFor="let file of fileUploadQueue.files; let i = index"></mat-file-upload>
</mat-file-upload-queue>
</div>
<div [fileUploadInputFor]="fileUploadQueue3" class="upload-drop-zone">
Just drag and drop files here
</div>
<div style="width: 500px">
<mat-file-upload-queue
#fileUploadQueue3
[httpUrl]="'http://localhost:8080/jax-rs-jersey-application-sample'"
fileAlias="{{ fileAlias }}"
[httpRequestHeaders]="httpRequestHeaders"
[httpRequestParams]="httpRequestParams"
>
<mat-file-upload
[file]="file"
[id]="i"
*ngFor="let file of fileUploadQueue3.files; let i = index"
></mat-file-upload>
</mat-file-upload-queue>
</div>
<div [fileUploadInputFor]="fileUploadQueue4" class="upload-drop-zone">
Just drag and drop files here
</div>
<div style="width: 500px">
<mat-file-upload-queue
#fileUploadQueue4
[httpUrl]="'http://localhost:8080/jax-rs-jersey-application-sample1'"
fileAlias="{{ fileAlias }}"
[httpRequestHeaders]="httpRequestHeaders"
[httpRequestParams]="httpRequestParams"
>
<mat-file-upload
[file]="file"
[id]="i"
*ngFor="let file of fileUploadQueue4.files; let i = index"
[httpUrl]="'http://localhost:8080/jax-rs-jersey-application-sample'"
fileAlias="{{ fileAlias1 }}"
[httpRequestHeaders]="httpRequestHeaders1"
[httpRequestParams]="httpRequestParams1"
></mat-file-upload>
</mat-file-upload-queue>
</div>
FAQs
A fileupload component based on angular-material design
The npm package angular-material-fileupload receives a total of 1,095 weekly downloads. As such, angular-material-fileupload popularity was classified as popular.
We found that angular-material-fileupload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.