Ionic 2 GoogleMap API 404 Not Found

I want to use google api in a ionic 2 app. I have included http://maps.googleapis.com/maps/api/js“ with in script tag in the index.html file. However the browser tries to load the google maps api script from localhost using http://localhost:8100/“http://maps.googleapis.com/maps/api/js“ url. http://localhost:8100 is prepended to the google maps api url.