My current code is as follows:
myDB.transaction(
function(transaction) {
transaction.executeSql('CREATE TABLE IF NOT EXISTS newtb(Name text,img blob)');
var executeQuery = "INSERT INTO newtb(Name,img) VALUES (?,?)";
transaction.executeSql(executeQuery, ['abc','../img/img1.jpg']);
i dont know it is the right process or not using angularjs in cordova.if it is correct than how to display that image.