Skip to content

Instantly share code, notes, and snippets.

@maxca
Last active October 14, 2016 09:23
Show Gist options
  • Save maxca/eab6d902830fd07d5cafed6c557e50c4 to your computer and use it in GitHub Desktop.
Save maxca/eab6d902830fd07d5cafed6c557e50c4 to your computer and use it in GitHub Desktop.
/** use config app simple */
(function() {
var useConfigApp = angular.module('switchEnv', ['configModule']);
useConfigApp.Controllers('simpleController', ['serviceEnv', function(serviceEnv) {
var baseUrl = serviceEnv.env.baseApi;
var port = serviceEnv.env.port;
var register = serviceEnv.env.register;
var timeOut = serviceEnv.env.timeOut;
}]);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment