lib/ngapp/service.helper.js
function genServiceMethod(method) {
        return function (req) {
            return ajax.send(method.url, method.httpMethod, req, method.resourceName);
        };
    }
function genServiceMethod(method) {
        return function (req) {
            return ajax.send(method.url, method.httpMethod, req, method.resourceName);
        };
    }
function genServiceMethod ( method ) { return function ( req ) { return ajax . send ( method . url , method . httpMethod , req , method . resourceName ) ; } ; }
Generate a service method
@param method
@returns {Function}
Generate a service method