title: Refresh a screen after a modal confirmation(Angular)
body: <p>I am stuck.</p>
  <pre><code>confirmDeleteSubmission(content) {
     this.modalService.open(content, { ariaLabelledBy: 'modal-basic-title' }).result.then((result) =&gt; {
        if (result == 'ok') {
           this.deleteSubmissionEvent.emit('delete');
           // refresh the screen
           setTimeout(() =&gt; {
  
           }, 1000);
        }
     });
  }
  </code></pre>
  <p>I am trying to get <code>setTimeout</code> to work. Basically after a user clicks on ok, the whole screen refreshes.
  how do i do this?</p>
  <p>Thanks</p>