title: Refresh list after item is created
body: <p>On Angular 7 I have the following component (some code omited for sake of simplicity):</p>
  
  <pre><code>export class CreatePostComponent {
  
    form: FormGroup;
  
    onSubmit() {
      this.postService.create(request).subscribe(
        (response) =&gt; { this.form.reset();},
        (error) =&gt; { }
      );
    }
  }
  </code></pre>
  
  <p>When this form is successfully submitted I need to refresh a list of post which is handled by the component:</p>
  
  <pre><code>export class PostListComponent implements OnInit {
  
    posts$: Observable&lt;PostModel[]&gt;;
  
    ngOnInit() {
  
      this.posts$ = this.getPosts();
  
    }
  
    private getPosts(): Observable&lt;PostModel[]&gt; {
  
    }
  
  }
  </code></pre>
  
  <p>So basically I need to call <code>getPosts</code> again ... How can I do this?</p>