Reputation: 3
I keep getting the same error over and over again:
Error: [$injector:unpr] Unknown provider: $ngCordovaProvider <- $ngCordova <- AppCtrl.
I included the cordova jsfile in my index.html (<script src="lib/ngCordova/dist/ng-cordova.js"></script>
).
In my controllers.js file I included the dependencies as well:
angular.module('starter.controllers', ['ngCordova'])
.controller('AppCtrl', function($scope, $ionicModal, $ionicPopup, $ionicLoading, $ionicActionSheet, $timeout, $ngCordova, $cordovaCapture) {
If anyone could help me, it would mean a lot!
Upvotes: 0
Views: 214
Reputation: 2075
The module ngCordova
doesn't provide a service called $ngCordova
. As far as I can see from the documentation, there really is no such service.
Upvotes: 1