Prepend Rails relative root path to ng HTTP requests

User Story # 7089

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge pull request #1162 from opf/fix/angular-rails-relative-root-path

Fix/angular rails relative root path