title: Call Component Function from Service
body: <p>I am trying to create a file upload component for my app .at the end when file upload complete I want to clear the files from uploaded,for that I write bellow function in file up-loader component .</p>
  
  <pre><code>  clearFileList(){
      this.uploadedFiles=[]
    }
  </code></pre>
  
  <p>and now I want to call this function from a service ,after that with the help of the service  can reuse the method in other components .</p>
  
  <p>How do i do this.</p>