top of page
Search
Writer's pictureClearly Innovative

Ionic Framework REST API Example with $http and ngResource



Update:

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


Overview

This is a sample application based on off a Ionic Framework CodePen example to show the use of $http  andngResource  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


More Clearly Innovative Content such as blog posts and videos on Ionic Framework can be found herehttp://www.clearlyinnovative.com/category/ionic/

More Clearly Innovative Content such as blog posts and videos on Ionic2 can be found here: http://www.clearlyinnovative.com/category/ionic2/
29 views0 comments

Comments


bottom of page