Creating API Request service for Ionic 2