server/backend/routes/push.js
function serviceCall(req, res, next) {
        Q(pushService.registerPushDevice(req.body)).then(res.json.bind(res), next).done();
    }
function serviceCall(req, res, next) {
        Q(pushService.registerPushDevice(req.body)).then(res.json.bind(res), next).done();
    }
function serviceCall ( req , res , next ) { Q ( pushService . registerPushDevice ( req . body ) ) . then ( res . json . bind ( res ) , next ) . done ( ) ; }
register the device on the push Service

@param req containing body JSON to pass as input.
@param res result of call is provided as JSON body data.
@param next function to invoke error handling.
register the device on the push Service