Sqlite Dao Service for AngularJS