test angular js deviceready