I would also consider why would you like something like an URL to be
well known instead of some actual service doing it's job. I ask in the
meaning of the OOP "Tell, Don't Ask" principle.
Another thing is that maybe we would not like the system to be
directly aware of that constants, but we would like our services be
configurable. In that case you could find an answer to my question
useful:
https://groups.google.com/d/topic/angular/UioTbFjoQhI/discussion
I have not tried that yet, though.
Regards,
Witold Szczerba