convertToSelect2Func & convertToAngularFunc

to allow customized conversion function in options