angular-vertilize.js
function(){
            var clone = element.clone()
              .removeAttr('vertilize')
              .css({
                height: '',
                width: element.outerWidth(),
                position: 'fixed',
                top: 0,
                left: 0,
                visibility: 'hidden'
              });
            element.after(clone);
            var realHeight = clone.height();
            clone['remove']();
            return realHeight;
          }
function(){
            var clone = element.clone()
              .removeAttr('vertilize')
              .css({
                height: '',
                width: element.outerWidth(),
                position: 'fixed',
                top: 0,
                left: 0,
                visibility: 'hidden'
              });
            element.after(clone);
            var realHeight = clone.height();
            clone['remove']();
            return realHeight;
          }
function ( ) { var clone = element . clone ( ) . removeAttr ( 'vertilize' ) . css ( { height : '' , width : element . outerWidth ( ) , position : 'fixed' , top : 0 , left : 0 , visibility : 'hidden' } ) ; element . after ( clone ) ; var realHeight = clone . height ( ) ; clone [ 'remove' ] ( ) ; return realHeight ; }
Get my real height by cloning so my height is not affected.
Get my real height by cloning so my height is not affected .