demo/lib/ui-bootstrap-tpls.js
function recalculatePosition() {
      scope.position = appendToBody ? $position.offset(element) : $position.position(element);
      scope.position.top += element.prop('offsetHeight');
    }
function recalculatePosition() {
      scope.position = appendToBody ? $position.offset(element) : $position.position(element);
      scope.position.top += element.prop('offsetHeight');
    }
function recalculatePosition ( ) { scope . position = appendToBody ? $position . offset ( element ) : $position . position ( element ) ; scope . position . top += element . prop ( 'offsetHeight' ) ; }
recalculate actual position and set new values to scope after digest loop is popup in right position
recalculate actual position and set new values to scope after digest loop is popup in right position