$ionicScrollDelegate.resize() with filtered collection-repeat

I have an issue when trying to use a search box combined with collection-repeat.
After I filter and limit the result so the result will be smaller that the screen height, the scroll bar will be displayed wrongly.
I use $ionicScrollDelegate.resize() after filtering, with a timeout. The trouble is that it will not work reliably, but when I put the resize call in an ng-click event, it works fine.

What could be the problem?

See this thread: Issue filtering items in collection-repeat with search box