Friday, May 8, 2015

Using AngularJS to bind JSON data from an HTTP service request to an HTML SELECT list

Here's an example of how to bind JSON data from a $http service using AngularJS. In this example we'll use Zodiac data from MySafeInfo.



This example relies on AngularJS and uses mysafeinfo.com to retrieve data in JSON format. MySafeInfo is a free service we offer to software developers to provide test data in a simple, flexible manner, in a variety of formats, including XML, JSON, JSONP, CSV, and more.

0 comments: