Skip to content

Instantly share code, notes, and snippets.

View tarekeldeeb's full-sized avatar

Tarek Eldeeb tarekeldeeb

View GitHub Profile
@tarekeldeeb
tarekeldeeb / app.js
Last active October 28, 2015 13:43
Followed: https://gist.github.com/borissondagh/29d1ed19d0df6051c56f but got chrome error: `Exception in onResRdy: TypeError: Cannot read property 'htmlRes' of undefined`
var db = null;
angular.module('starter', ['ionic', 'myapp.controllers', 'myapp.services', 'ngCordova'])
.run(function($ionicPlatform, $cordovaSQLite) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if (window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);