How to scroll a content up to certain position?


This is basically my setup:

<ion-content delegate-handle="myHandle"  style="padding: 1rem">

$timeout(function() {
  $ionicScrollDelegate.$getByHandle('myHandle').scrollTo(0, 1000, true);
}, 1000);

But the content only scrolls up or gets pushed up if the content’s height is small enough. But if the content’s height is tall enough, it doesn’t move at all. How to make the content move up to a certain position just like when a keyboard shows up and the content moves up so that the textbox is visible?