PM2 Http client using ionic mobile framework