I'm trying to learn angular 2. I have imported ng2-upload-file. Now, I have an upload button in one of my component. In the backend, I analyze the uploaded file and change it and then display the result in another component.
this is the function called when upload is completed.
this.uploader.onCompleteItem = (item: any, response: any, status: any, headers: any) => {
let responsePath = JSON.parse(response);
};
Now, I want my other component noticed when upload is completed. Also, response of uploaded data should be displayed in that component. How I can do that?