How to save uuid to SQLite?

I’m using $cordovaDevice get uuid on mobile and I want to save uuid into SQLite database. Help me pls i’m newbie

.controller('uuidCtrl', function($scope, $cordovaDevice) {
    document.addEventListener("deviceready", function() {
        var uuid = $cordovaDevice.getUUID();
        $scope.uuid = $cordovaDevice.getUUID();
    });
})

You need Cordova SQLite plug-in to open up a connection to your database.

A simple example:

http://ngcordova.com/docs/plugins/sqlite/