{
  "name": "focus-app",
  "private": "true",
  "devDependencies": {
    "ionic": "driftyco/ionic-bower#1.1.0",
    "ng-database": "*"
  },
  "dependencies": {
    "cordovaMedia2": "v1.0.2",
    "ngCordova": "~0.1.20-alpha",
    "angular-ios9-uiwebview-patch": "~1.1.1",
    "moment": "~2.10.6"
  }
}

{
  "name": "focus-app",
  "private": "true",
  "devDependencies": {
    "ionic": "driftyco/ionic-bower#1.1.0"
  },
  "dependencies": {
    "cordovaMedia2": "v1.0.2",
    "ngCordova": "~0.1.20-alpha",
    "angular-ios9-uiwebview-patch": "~1.1.1",
    "moment": "~2.10.6",
    "ng-database": "git@github.com:andybb/ngDatabase.git#440fde"
  }
}

Use a forked version of ngDatabase
Use a forked version of ngDatabase
