title: AngularJS Provider dependency injection - using $http in provider?
body: <h3>tl;dr</h3>
  <p>I'm really struggling to find the appropriate pattern here. How should I best configure a generalized provider to a specific use-case? I can't use <code>$http</code> as a dependency in <code>.configure();</code> can I?</p>
  <h3>longer, boring explanation:</h3>
  <p>I am trying to create a generalized provider which I may reuse in Angular. I have it working, however it requires configuration.</p>
  <p>The intention is to provide a fallback REST service to use in saving data to the server, but with provision to save offline in local-storage. Therefore, I need to provide appropriate <code>$http</code> calls for each instance of this provider.</p>
  <p>Is it possible to provide appropriate <code>$http</code> calls with <code>.configure()</code> or else should I try and figure out how to inject <code>$http</code> into the provider from the start and then configure it afterward??</p>