Simple IndexedDB access for AngularJS