function unregister_(unregisterCallback) {

// WARNING! dangerous to unregister (results in loss of tokenID)
        $cordovaPush.unregister(options).then(function (result) {
            unregisterCallback(result);
        }, function (err) {
            $log.error("error occured unregistering : " + e);
        });
    }
/*
     * Un register from the Push servers.
     * */
Un register from the Push servers.
Un register from the Push servers .
function unregister_(unregisterCallback) {
        $cordovaPush.unregister(options).then(function (result) {
            unregisterCallback(result);
        }, function (err) {
            $log.error("error occured unregistering : " + e);
        });
    }
function unregister_ ( unregisterCallback ) { $cordovaPush . unregister ( options ) . then ( function ( result ) { unregisterCallback ( result ) ; } , function ( err ) { $log . error ( "error occured unregistering : " + e ) ; } ) ; }
Un register from the Push servers.
Un register from the Push servers .
// WARNING! dangerous to unregister (results in loss of tokenID)