I also got the same error and solved by adding angular.module(‘starter’, [‘ionic’,‘ngCordova’]). and use bower install ngCordova command please refer this link http://ngcordova.com/docs/install/ and also dont forget to add in your index.html file
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Ng-cordova.js:6378 Uncaught ReferenceError: PushNotification is not defined | 0 | 1281 | July 26, 2017 | |
CordovaPush not working | 6 | 2158 | February 18, 2016 | |
Ionic - push notifications - 'pushNotification' of undefined | 2 | 1996 | May 22, 2017 | |
Can't get push notifications in Android to work using ngCordova | 4 | 1269 | March 18, 2015 | |
How to reference plugin?!
|
2 | 1447 | December 11, 2015 |