fixed angular.element dropdown bug