If you are looking for an Ionic2 version of code to work with http request check out this sample project https://github.com/aaronksaunders/Ionic2-NutritionSample
This is a sample application based on off a Ionic Framework CodePen example to show the use of $http and ngResource in an application. In this example, we are using https://developer.nutritionix.com/ for nutrition information; showing how to access REST API with either $http or $resource with Ionic Framework collection-repeat directive for rendering the data.
The complete source code is here in the github repository and it can also be accessed in the CodePen that was used in the original class demo
GitHub Source Code: https://github.com/aaronksaunders/Ionic-NutritionSample
Original CodePen: http://codepen.io/aaronksaunders/pen/jEYGPe