Ionic app will redirect to my index page when i click on button in iphone 6 (ios 9.0) device

ionic app will redirect to my index page when i click on button in ios 9.0 device but it works like a charm in ios 8.3,

in real i want to show alert on that link,

now its work like (ios 9.0)

  1. i click on that link
  2. it will redirect to index page and the
  3. show alert

but in (ios 8.3)

  1. i click on that link
  2. show alert

what is the problem i don’t understand
help me ionic guys…

thanks in advance

Hi,
Please remove href="#" from your anchor tag and test again. Hopefully it will work.

no href= in code there is ng-click=“abc()”. ex

<a data-ng-click="abc()"></a>

What does this function abc() do ?