How to Sync ionic tab data with API data when tab is clicked

Hello,
I have an Ionic tab with 3 tabs A, B and C. In the tab B i use an API to display a list of names.

App Tab B :

  • Joe
  • Jean
  • Sam

API :

  • Joe
  • Jean
  • Sam

In the meantime, a new name has been added to the API which is now :

  • Joe
  • Jean
  • Sam
  • John

I want that when i am in the tab A and i click on tab B, my app refresh the tab B and do a new call to the API trhough the getNamesFromAPI() method in order to actualize the list of names without refreshing the whole app.

Do you know how i could do that ?

Thank you

This post may be of interest to you - very similar thread to what you describe.