title: How to use angular material 6 autocomplete with data server
body: <p>I'm developing a simple page with Angular 6 and Material 6. I want to recover data from a service using the autocomplete of Material, but I don´t know how to do it well.</p>
  
  <p>From the official example <a href="https://material.angular.io/components/autocomplete/overview" rel="noreferrer">https://material.angular.io/components/autocomplete/overview</a> I don't understand how to use a service to integrate it with the autocomplete.</p>
  
  <p>Can anybody help me?</p>
  
  <p>Thanks</p>