updated directive ipInputBox