Angular HTTP call in IONIC are two slow in comparative to jQuery AJAX


I am creating a Cricket Scoring App in Ionic & In web using jQuery. I have created Rest API in CodeIgniter.

Scoring API take max 1s to 2s to hit and get back response in web using jQuery but when I use the same API in ionic application it took an average of 3s to 5s and even sometimes 10s

Why it’s so?

Your help will be appreciated.