refact($ionicPopup): move all of prompt to new api

Closes #1145