If I understand well, I think the best way is to do it like this :
YOUR_MODULE.run(function () {
_db = new PouchDB('name', { adapter: 'websql' });
})
In a run of an angular module.
If I understand well, I think the best way is to do it like this :
YOUR_MODULE.run(function () {
_db = new PouchDB('name', { adapter: 'websql' });
})
In a run of an angular module.