Clicking “Scroll to Divider” sets
$location.hash and scrolls to the set hash using
$ionicScrollDelegate.anchorScroll. This works fine.
Now if you uncomment
<ng-include> in modal.html and click “Scroll to Divider” it scrolls past the set hash and you cannot scroll back to the top.
I have shared content for my Modals that I am trying to include to avoid repeating code, but including with
ng-include on my Modal breaks scrolling using
$location.hash on the main view and I have no idea why.
Is this a bug or am I missing something really obvious?