IONIC2 : Google address autocomplete issue


#1

Google address autocomplete does work if AddressPage component is render at first time but

if i navigate to another page say OffersPage and then i goto AddressPage using this.nav.push(AddressPage) then it does not work

I know the reason and it is because at first time Page-AddressPage instance is loaded in DOM and google autocomplete it bind to that page,
But when i navigate using this.nav.push(AddressPage) it will create another copy (instance) of Page-AddressPage so the google autocomplete it binded already to first instance it will not bind to the latest instance.

Appreciate for the solution