An offline DB demo based on AngularJS framework and HTML5 IndexedDB