Ankush Agrawal
Ankush Agrawal

Reputation: 21

Is ngCordova recommended to use with onsen UI for developing cordova application?

I am new to mobile development and exploring the Onsen UI for my work. I also got to know about ngCordova. I see that Onsen UI talks to use angular js for development. Is use of ngCordova supported and recommended with Onsen UI? I am developing apps which are mostly for but not limited to Android, iOS but should be used on desktop with minimum tweak.

Upvotes: 0

Views: 431

Answers (2)

Ankush Agrawal
Ankush Agrawal

Reputation: 21

Thanks Andreas for the clarification. Found that ngCordova is not the independent solution but have to be used with angular.js; ngCordova provides quick methods to work with Cordova. Ref: ngCordova docs Include ng-cordova.js or ng-cordova.min.js in your index.html file before cordova.js and after your AngularJS / Ionic file (since ngCordova depends on AngularJS).

Upvotes: 1

Andreas Argelius
Andreas Argelius

Reputation: 3614

ngCordova will work fine with any hybrid AngularJS application, so if you chose to use AngularJS for your project you can use ngCordova as well.

Upvotes: 0

Related Questions