paulocaldeira17/angular-websql — pull request #6 by gfauchart (2014-07-12 15:00:35+00:00)
Title: change callback to angular promise

two main advantages:

- you can chain or wait several callback and fire when all query is completed ex:
```js
$q.all([$scope.db.selectAll("user"), $scope.db.selectAll("comments")].then(function(queryResults)){
}
```
- with $q (angular promise) you dont need $scope.apply()