jonsamwell / angular-http-batcher

Enables HTTP batch request with AngularJS
MIT License
96 stars 28 forks source link

Several differents rootUrls for same app?? #30

Closed fabm22 closed 9 years ago

fabm22 commented 9 years ago

Hi,

Sorry if my question si too noobish but I'd like to know if it is possible to specify, for the same app, several different endpoints, and if yes, how do I tell which one I'd like to use, as it seems the config through the "httpBatchConfigProvider" is whole app wide.

Should I specify it by angular.js modules or something ?

Thanks a lot for help!!

fabm22 commented 9 years ago

Im a bit stupid, just by looking at the code with "mergedConfiguration" etc. I see you can set several endpoints, sorry !

jonsamwell commented 9 years ago

Glad you sorted it out!