// registration web service proxy webservices.factory('serviceLogService', ['$http', 'apiConfig', function ($http, apiConfig) { 'use strict'; return { addEnterProjectLog: function (userName, logContent) { var config = { ignoreLoadingBar: true }; return $http.post('/operationlog/addEnterProjectLog/' + userName, angular.toJson(logContent), apiConfig.create(config)); } }; }]);