need help I had ionic up and running in one app, but can’t get to solve this error in another app
I get this error
Unknown provider: $cordovaPushProvider <- $cordovaPush <- $ionicPush
I have included:
<script type="text/javascript" src="vendor/ionic/js/ionic.bundle.js"></script>
<script type="text/javascript" src="vendor/ngCordova/dist/ng-cordova.js"></script>
<script type="text/javascript" src="vendor/ionic-service-core/ionic-core.js"></script>
<script type="text/javascript" src="vendor/ionic-service-push/ionic-push.js"></script>
....
My app module is like:
angular.module('app', [
'ionic',
'ngCordova',
'ionic.service.core',
'ionic.service.push',...
.run(['$ionicPlatform', '$cordovaSplashscreen', 'StateManager', 'APP_STATES', '$rootScope', '$ionicUser', /*'$ionicPush',*/ function ($ionicPlatform, $cordovaSplashscreen, StateManager, APP_STATES, $rootScope, $ionicUser/*, $ionicPush*/) {
....
Am I missing something?