@Fran-Diox Hey! That’s pretty cool. I hope I can live up to the group name as I have asked some pretty non-expert questions to you! In all honesty though, I have really enjoyed working with Monaca / Onsen. The feature set and ease of use are outstanding!
I figured it out. I just needed to add ‘onsen’ to the angular.module list argument. Fortunately, my teammate on this project understands Angular better than I do.
There’s a perfectly good example in the OnsenUI github, too: https://github.com/OnsenUI/onsenui2-quickstart/blob/master/www/angular/app.js
I didn’t realize when I first looked at it that that was in there. Once I found it, it made things much clearer.
@patrick they work just fine on the browser. Whitelist is set good and so is CSP. I have no idea why they don’t work with phonegap build. If I try to console.log the error callback object I don’t get anything, but I can guarantee I get the error callback because If I do something like console.log(‘didn’t work’); I’ll get it.