I don't think the js app should know about the "base URL path". So I'd do this instead:

```
module.constant('gaGlobalOptions', {
  serviceUrl: '${service_url}',
  feedbackUrl: '${feedback_url}',
  ogcproxyUrl: '${ogcproxy_url}'
});
```