Fix/angular rails relative path

https://www.openproject.org/work_packages/7089

Further work to make the Angular application handle Rails relative root paths. See original PR #1162.