Managing environment using babel
diff --git a/mCordPortal/src/app/services/config.js b/mCordPortal/src/app/services/config.js
new file mode 100644
index 0000000..9bba19f
--- /dev/null
+++ b/mCordPortal/src/app/services/config.js
@@ -0,0 +1,10 @@
+(function () {
+  angular.module('mCord')
+    .value('baseUrl', (function(){
+      if (process.env.MOCK === 'true') {
+        return 'http://private-c85424-progranrestapi.apiary-mock.com/';
+      } else {
+        return '';
+      }
+    })())
+})();
\ No newline at end of file