src/angular/select.js
// function to close menu on window resize and document click
function to close menu on window resize and document click
function to close menu on window resize and document click
function closeMenuFn() {
          scope.isOpen = false;
          util.disableScrollLock(true);
          jqLite.off(document, 'click', closeMenuFn);
          jqLite.off(window, 'resize', closeMenuFn);
          scope.$digest();
        }
function closeMenuFn ( ) { scope . isOpen = false ; util . disableScrollLock ( true ) ; jqLite . off ( document , 'click' , closeMenuFn ) ; jqLite . off ( window , 'resize' , closeMenuFn ) ; scope . $digest ( ) ; }
function to close menu on window resize and document click
function to close menu on window resize and document click
// disable scroll lock // remove event handlers