An angular directive for parsing an input into name parts