Angularjs 实现ngCordova的白色屏幕

Angularjs 实现ngCordova的白色屏幕,angularjs,cordova,ionic,Angularjs,Cordova,Ionic,在我的项目中实现了ngCordova,此外,我在我的应用程序中添加了NgCordovoauth以生成facebook和twitter登录,这就是问题所在。安装bower和ng cordova oauth后,收到以下错误: Uncaught Error: [$injector:modulerr] Failed to instantiate module ionicApp due to: Error: [$injector:modulerr] Failed to instantiate module

在我的项目中实现了ngCordova,此外,我在我的应用程序中添加了NgCordovoauth以生成facebook和twitter登录,这就是问题所在。安装bower和ng cordova oauth后,收到以下错误:

Uncaught Error: [$injector:modulerr] Failed to instantiate module ionicApp due to:
Error: [$injector:modulerr] Failed to instantiate module ngCordova due to:
Error: [$injector:nomod] Module 'ngCordova' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
然后删除对ng cordova oauth的引用,问题仍然存在。现在我无法修复它,每次我运行我的应用程序都是白色的,并抛出这个错误

在我的index.html文件中,是对ng-cordova.min.js文件的引用,这是我的angular模块

angular.module('SharedServices', ['ionic','ngCordova','ngMap','openfb'])

有效地检查了文件,一切正常。运行,
bower安装-SF ngCordova
然后参考已安装的文件并运行。

有效地检查该文件,结果正常。运行,
bower install-SF ngCordova
然后参考已安装并运行的文件。

是否正确包含所有js?是的,事实上,自从bower and install ng ng cordova oauth之后,我停止了为我工作。您的问题似乎与缺少ng-cordova.js有关。验证您是否拥有该文件,并且该文件是否已正确加载。如果有效地检查该文件,则该文件正常。让solution.js正确包含吗?是的,事实上,自从bower和安装ng cordova OAuth之后,我就不再为自己工作了。您的问题似乎真的与缺少ng-cordova.js有关。验证您是否拥有该文件,并且该文件是否已正确加载。如果有效地检查该文件,则该文件正常。让我们来解决这个问题。