Seeking a method to dynamically label an upload button. Here is my current code snippet:
<style>
.file_upload_wrap.background_file:before {
content: {{label}}; /* unfortunately, this does not function as intended */
}
</style>
<div class="file_upload_wrap background_file imgFormButton">
<input type="file" class="file_upload" (change)="uploadFile($event, file)" name="file" id="file" [(ngModel)]="model.file"
#file="ngModel">
</div>
Any suggestions on how I can dynamically modify the content?