Attempting to write a $superagent Angular $provider.