Document.addEventListener is not working in ios

Hello sir,
I have used bellow controller. But document.addEventListener is not working in ios but android is working.

.controller(‘SignInCtrl’, function($stat$cordovaSQLite,$cordovaDevice) {
document.addEventListener(‘deviceready’, function () {
alert(“device ready”);
})
})

Please help me…