I am trying to get the view to scroll to an anchor (or div) on page load but I cannot find a solution to this even using $timeout.
The below code will not work:
.controller('RaceMeetListingCtrl', function ($scope, $location, $ionicScrollDelegate, $timeout) {
$timeout(function () {
$ionicScrollDelegate.anchorScroll("#139");
}, 50);
}
Even $ionicScrollDelegate.scrollBottom();
will not work in place of the anchorScroll.