What I’m trying to do is to install http://ngcordova.com/ and the cordova sqlite plugin ( https://github.com/brodysoft/Cordova-SQLitePlugin ) and make them work in my test app (originally my app is the default tabs app)
There are couple of questions then:
If I understood right, the way how the ngCordova should be installed is the git clone to the /www/lib . So then, in the index.html, we should include the
(however, on the site it says to include the /lib/ngCordova/dist/ng-cordova.js , I don’t understand how they get the different folder name )
I’ve tried install it as cordova plugin:
Is that’s the correct way of installing the ng-cordova?
- From the other point I’m trying to install the sqlite plugin.
However it’s not clear - should I somehow include the js of it in my index.html, or it would be included automatically ? Any of my tries to include or use it had not lead to the success. Evenmore, when I try to build the project for ios, I see the next:
As you see - it’s not able to find the plugins file.
What I’m doing wrong, how should I add the plugin to the project after I’ve added it as cordova plugin?
Any thoughts are appreciated.