Instantly share code, notes, and snippets.

Embed
What would you like to do?
angular.module('coolapp', ['coolapp-constants'])
  .service('backendService', function($http, apiUrl){ 
    //Use the apiUrl variable to make API calls 
  });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment