title: How to clear the uploaded files after success message in p-fileUpload using angular2
body: <p>i am using p-fileUpload plugin from primeng, after uploading the files, i still  can see the files which i have uploaded after success message. 
  Can anyone help me how to hide these files, after success message.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;p-fileUpload #form name="photo" type="file" customUpload="true" (uploadHandler)="fileChangeEvent($event, form)" multiple="multiple"&gt;&lt;/p-fileUpload&gt;
  </code></pre>
  
  <p>TS:</p>
  
  <pre><code>  fileChangeEvent(fileInput: any, form) {
      if (
        fileInput.files.some(f =&gt; this._validFileExtensions.indexOf(f.type) != -1)
      ) {
        this.showError("Invalid file Added");
      } else {
        this.upload(fileInput.files, form);
      }
    }
  </code></pre>
  
  <p>I need to clear the files when this functionality is called,</p>
  
  <pre><code>if (this.progressStatus === 'done') {
    this.progressValue = 100;
    this.progress = false;
    clearInterval(interval);
    return ;
  }
  </code></pre>