What’s wrong?
Following the instructions from the ngCordova docs
http://ngcordova.com/docs/plugins/nativeAudio/
I get:
TypeError: Cannot read property ‘NativeAudio’ of undefined
at Object.preloadSimple (http://localhost:8100/lib/ngCordova/dist/ng-cordova.js:3843:24)
at new (http://localhost:8100/js/controllers.js:6:6)
at invoke (http://localhost:8100/lib/ionic/js/ionic.bundle.js:11994:17)
at Object.instantiate (http://localhost:8100/lib/ionic/js/ionic.bundle.js:12002:27)
at http://localhost:8100/lib/ionic/js/ionic.bundle.js:16255:28
at IonicModule.controller.self.appendViewElement (http://localhost:8100/lib/ionic/js/ionic.bundle.js:47320:24)
at Object.IonicModule.factory.ionicViewSwitcher.create.switcher.render (http://localhost:8100/lib/ionic/js/ionic.bundle.js:45864:41)
at Object.IonicModule.factory.ionicViewSwitcher.create.switcher.init (http://localhost:8100/lib/ionic/js/ionic.bundle.js:45784:20)
at IonicModule.controller.self.render (http://localhost:8100/lib/ionic/js/ionic.bundle.js:47225:14)
at IonicModule.controller.self.register (http://localhost:8100/lib/ionic/js/ionic.bundle.js:47181:10)