I want to create an AngularJS web client for which the REST backend can be hosted on another server. Therefore, basically I think about the presence of the property input field in the interface, where for each session I will enter the base REST URL (for example, http://localhost:8080/backend/rest/)
Is there any best practice for sharing the base url among all controllers / factories / services so that it is included for all $ http requests?
source
share