$indexedDBProvider.connection('localDatabasex');.upgradeDatabase(1, function (event, db, tx) {
console.log(db);
//Create Objects -- CityMaster
var objStore = db.createObjectStore('citymaster', { keyPath: 'ssn' });
objStore.createIndex('cityid', 'int', { unique: false });
objStore.createIndex('cityname', 'cityname', { unique: false });
objStore.createIndex('statename', 'statename', { unique: false });
objStore.createIndex('customcity', 'customcity', { unique: false });
objStore.createIndex('Whenupdate', 'Whenupdate', { unique: false });
objStore.createIndex('recentcity', 'recentcity', { unique: false });
This code is not working on angular 1.5v, no debug mode ?, no error log ?
});