Set proxy connection on ionic

Hi, I am new to ionic and gulp. I run my ionic app on localhost with port number 9010 and my server on port number 9009. I want to make a API call from ionic to my server, however, they are not from the same origin and prevent me make the API call.

is there a easy way I can do in the gulpfile.js to make my request forwarded to port number 9009 first and make cross site request possible?

Thanks!