swap ngCordova and AngularJS links