AngularJS / IndexedDB test app