Inside the client/app/view-thread folder, create another folder named upload-audio-modal and inside that, create two files named upload-audio-modal.html and upload-audio-modal.ts. Update client/app/view-thread/upload-audio-modal/upload-audio-modal.html as shown here:
// SNIPP SNIPP<div class="modal-header"> <h4 class="modal-title">Reply with Audio</h4> <button type="button" class="close" aria-label="Close" (click)="activeModal.dismiss('x')"> <span aria-hidden="true">×</span> </button></div><div class="modal-body"> <div class="form-group"> <div class="text-center"> <audio #audio class="audio" controls></audio> </div> <br> <button type="button" class="btn btn-success" [disabled]="isRecording ...