bugfix - angular not bootstrapping correctly on cordova.

fixes an issue with angular not bootstrapping on cordova because `document.ready` is fired before the html is loaded. Instead using the `deviceready` event...