Android jelly bean $ionicScrollDelegate resize does NOT work

The height of a view is calculated once it is opened and whenever user tries to expand collapsible menu, resize function is not called. I tried to call it manually every time user opens or closes the collapsible menu. It does not work. I need to know what functions are called by Ionic automatically when a view is opened in terms of height calculation so that I can make a call to the same function.

$scope.toggleGroup = function(group) {
  group.show = !group.show;
  $ionicScrollDelegate.$getByHandle('AppCtrl').resize();
  $ionicScrollDelegate.$getByHandle('HomeCtrl').resize();
  $ionicScrollDelegate.resize();
};

??? Any answer

Drifty recommend using Crosswalk on anything less than KitKat (4.4). See : http://blog.ionic.io/market-share-movement-android/

I am aware of that solution, it does solve most of the issues yet it expands the size of the app too much. That’s why I specifically asked for resizing. Thank you for the answer.