assigns autocompleter value to angular scope

https://www.openproject.org/work_packages/15643