2015-04-04 23 views

回答

1

感謝Andreas的澄清。發現ngCordova不是獨立的解決方案,但必須與angular.js一起使用; ngCordova提供了與科爾多瓦一起工作的快速方法。 Ref:ngCordova docs 在cordova.js和AngularJS/Ionic文件(因爲ngCordova依賴於AngularJS)之前,在index.html文件中包含ng-cordova.js或ng-cordova.min.js。

0

ngCordova可以在任何混合AngularJS應用程序中正常工作,所以如果您選擇將AngularJS用於您的項目,那麼您也可以使用ngCordova。

相關問題