Ionic scrollTop "Cannot read property 'scrollTo' of null" (still exists in 1.0.0-rc.1)

This bug was referred to here: in ionic changing route causes "TypeError: Cannot read property 'scrollTo' of null"

The answer says that this bug was fixed in beta-13, but I'm using 1.0.0-rc.1 and the bug still appears.

In my case, it the error is showing when navigating back to a page that uses $ionicScrollDelegate.scrollTop()

Is anyone else getting this error after updating to rc.1?

EDIT: I find that if I do not call $ionicScrollDelegate.scrollTop() automatically when my view loads, the error does not come up. Should I be calling scrollTop() within a specific Ionic event that waits for the right time?

Had the same problem, even with v1.0.0 "uranium-unicorn".

Wrapping the scroll call into a $timeout helped - this is what it looks like in my code:

   $timeout(function() {
                $ionicScrollDelegate.scrollTo(scrollPosition.left, scrollPosition.top);
            }, 0);