An AngularJS IndexedDB provider base on db.js