Adding setBaseUrl to RestangularProvider for global api endpoint configuration.
Removing some debug print in api