ionic: android platform add a plugin, then what i have written are gone
i create a new ionic demo
ionic start mydemo blank
ionic platform add android
ionic build android
original index.html in mydemo/platforms/android/assets/www
then i create controllers.js in mydemo/platforms/android/assets/www/js, add this js into index.html. change h1 content: “Ionic Blank Starter” to “My Ionic Demo”
then add cordova-sqlite-plugin
cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git
after plugin is installed, the controllers.js is gone, and index.html becomes the original one.
i try to install other plugins, there is the same problem.
did someone have the same issue? thank you