(function() {
"use strict";
angular.module("myApp").constant("SERVER", {
	//"ip": "https://openkudos.com/api"
	"ip": "http://localhost:8080"
})
})();

(function() {
"use strict";
angular.module("myApp").constant("SERVER", {
	"ip": "https://openkudos.com/api"
	//"ip": "http://localhost:8080"
})
})();

Update server.js