I’ve searched this for awhile with no clear explanation why this occurs.
Using the standard ionic tabs project, on ‘AppCtrl’ which is attached to the ‘tabs.html’, when I establish an $interval function it’s triggered twice. I know some will say I’m not cancelling it, but I’m just starting the app up, this occurs when running ionic-serve also. Is there something about abstract states that triggers the $scope to trigger twice?
I’ve moved the same code out into a controller on a specific state, ‘tabs.chat’ and it works as expected.