trying to get angular ntype-ahead to work. added delete function to messaging