I tried a lot of solutions I found to solve my issue but probably not the good one. Hope someone could help me
I launched an Ionic project, and i need to get the UUID.
I installed ngCordova with bower and did all the Install paragraph said here : ngCordova website
Here is my app.js file:
I just added ngCordova at the angular.module line, and added $cordovaDevice in the run method
- I already called the ng-cordova.js script in the index.html file.
- The device plugin is installed
And here is my console log error :
Uncaught ReferenceError: device is not defined
Does someone have any idea to resolve it ?