Hi,
When I need to use a cordova plugin, I listen for the deviceready event.
In all examples I have seen so far, the event and its handler are registered in app.js' launch function.
Is there a way to put the handler in a controller so that I can use the plugin from the controller?
Basically I want my controller to be notified/launch function called when the deviceready event fires.
Please help.