function createService(dashboardId, name, url) {

            var postData = {
                name: name,
                url: url
            }
            return $http.post(HygieiaConfig.local ? testingDetailRoute : getServiceRoute(dashboardId), JSON.stringify(postData))
                .then(function (response) {
                    return response.data;
                });
        }
// add a new service name. name must be sent with quotes around it
add a new service name. name must be sent with quotes around it
add a new service name . name must be sent with quotes around it
function createService(dashboardId, name, url) {
            var postData = {
                name: name,
                url: url
            }
            return $http.post(HygieiaConfig.local ? testingDetailRoute : getServiceRoute(dashboardId), JSON.stringify(postData))
                .then(function (response) {
                    return response.data;
                });
        }
function createService ( dashboardId , name , url ) { var postData = { name : name , url : url } return $http . post ( HygieiaConfig . local ? testingDetailRoute : getServiceRoute ( dashboardId ) , JSON . stringify ( postData ) ) . then ( function ( response ) { return response . data ; } ) ; }
add a new service name.
add a new service name .