Working on dialog/update in angular + term parsing in the backend