add directive to inputChoice