detect and remove partial angle brackets