I\'m new to Ionic / Cordova Android dev. I\'ve been trying to put in cordova camera plugin for last few days with no outcomes. Please help me out.
What I want to do
You seem to be missing requireJS. Use npm install -g requirejs
to install it via nodejs
I believe this would be helpful in sorting things out for you.
https://cordova.apache.org/docs/en/3.0.0/cordova_camera_camera.md.html
https://github.com/azizimusa/phonegap-demo
You seems to missing the import for the require lib.
http://requirejs.org/ you can use the CDN //cdnjs.cloudflare.com/ajax/libs/require.js/2.1.11/require.min.js
Just include
<script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.11/require.min.js"></script>
BEFORE you import the cordova.js.
HTH