Trouble with $cordovaDialogs.alert

Hi All - I’m having a couple of problem swith using alert, hopefully they’re something simple! I’m calling this within a controller:

$cordovaDialogs.alert(notification.body, callbackfunction(), "My application Name")

And/Or

$cordovaDialogs.alert(notification.body, "The app").then(function() {
    $state.go("task-show", {taskID: notification.task_id})
});

My problems are:

  1. When I’m running this on my iphone tethered, I’m getting an IP address showing up in title despite passing in an explicit title.
  2. I also can’t get the callback function to work, it never hits it after tapping “OK”

If anyone has a working sample that would be appreciated!