angular custom-select implementation. depends on ui-bootstrap