driftyco/ng-cordova — pull request #277 by mrzmyr (2014-09-10 06:58:28+00:00)
Title: fix($cordovaSQLite): changing the parameters

**BREAKING CHANGE**: the api has changed

Follow these steps to migrate:

Before:

```
$cordovaSQLite.openDB('yourDBName')
$cordovaSQLite.openDBBackground('yourDBName')
```

After:

```
$cordovaSQLite.openDB({ name: 'yourDBName' })
$cordovaSQLite.openDB({ name: 'yourDBName', bgType: 1 })
```

Docs are updated soon

fixes #273