build: add angular font awesome

* Add angular font awesome
* Add custom shared module for icons
This commit is contained in:
Abhay Chawla
2018-08-09 03:43:34 +05:30
parent 81d6cded6a
commit bf64608805
5 changed files with 62 additions and 3 deletions
@@ -1,6 +1,7 @@
<button mat-button (click)="inputFile.click()">
<mat-icon>file_upload</mat-icon>
<fa-icon icon="file-upload" size="lg"></fa-icon>
&nbsp;&nbsp;
Upload an image
</button>
{{ filename }}
{{ filename || 'No File Uploaded' }}
<input type="file" #inputFile (change)="onFileSelected($event)" [style.display]="'none'" />