I keep getting an error with Angular and Ionic, running on iOS simulator.
ionic run ios
exception nativeEvalAndFetch : ReferenceError: Can't find variable: cordova
In order to fix, I put
In my header. I had
So now I have both in the header and it is working fine. Not sure if I need both or not, but it works.
Also, my phonegap.js lives in my app folder. So I add to the gruntfile so it will copy over when I grunt build.