title: Display data in a different angular component
body: <p>Could someone please give me a working example (or refer me to one) which illustrates this functionality in Angular:</p>
  
  <p>Component A: gets data from a server (A user enters a word in an input field, the server responds with some definition)</p>
  
  <p>Component B: the data received from the server will be displayed in this component.</p>
  
  <p>I, for some reason, cannot get the data to display in another component than the one that fetched it from the server.</p>
  
  <p>For more details: I posted the question here: <a href="https://stackoverflow.com/questions/54450744/angular-how-to-redirect-into-another-page-upon-submit/54451481?noredirect=1#comment95751762_54451481">Angular: How to redirect into another page upon submit</a></p>
  
  <p>I have a service to share the data between components, but my problem is how do I pass the data received from the server from Component A to Component B?</p>