fixed the applying of typeahead selection into the newTag ng model.
cleaned it up a bit.