Ionic map application

Hi all. I am developing a mobile application and I am using Google maps API.
In the map,there is markers that will show contact information of shops show in the markers.
I created a click event listener to the marker and after click event happened contact information is shown in a dialog box.
There is phone number in that box and I need to add call option to that number when it clicked.
There is a function that I have created to take phone calls.
But I’m unable to call that function from inside that info box.
Is there any way to call a function from inside a map marker information box.