Skip to content

Instantly share code, notes, and snippets.

@alexjlockwood
Created June 30, 2018 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexjlockwood/9d0934908ccdd5a11ed4707179d9567c to your computer and use it in GitHub Desktop.
Save alexjlockwood/9d0934908ccdd5a11ed4707179d9567c to your computer and use it in GitHub Desktop.
Angular2 Http Example
---------------------
This is a sample application based on off Angular2 to show the use of http in an application.
In this example, we are using https://developer.nutritionix.com/for nutrition information; showing how to access REST API using ngFor directive for rendering the data.
A [Pen](http://codepen.io/aaronksaunders/pen/EKRJRJ) by [aaron k saunders](http://codepen.io/aaronksaunders) on [CodePen](http://codepen.io/).
[License](http://codepen.io/aaronksaunders/pen/EKRJRJ/license).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment