Send localstorage Data to the database using IONIC v1


I already have saved data in localstorage (only text) and then I wanted to send it the database.

I need some tutorials on how can I do it thanks!

BTW I chose localstorage because the text data that were about to save by the user were just in short term something between 30min to 1 hour.


For in app database you can use the plugin sqlite. And if you wanna use an other database you can use the the angular $ method.