Switching to object-based data storage can often be tough. If you’re trying to start Phonegap or Ionic Framework development and are coming from native development, the whole local storage concept can be a tough one to grasp. Or maybe you just prefer a structured query language (SQL) when working with your data.
Not to worry, because there is a plugin for that!
Making use of the Cordova SQLite plugin by Chris Brody, you can use a SQLite data source for managing your data in Android and iOS. Pair this with ngCordova and you can better compliment your Ionic Framework development with an AngularJS experience.
If you’re using Ionic 2, you should check out this tutorial instead.