ngCordova Push

register device only for push when user logs in