Angular is fatally allergic to global state. Therefore it actually has injectable values `$window` and `$document`. `$document`, though is wrapped in jQuery (lite) and you can call `$document.bind('deviceready', function() { ... });` instead. Not too much to choose for simple cases like this, though. Up to you if you want to use it.