Angular.JS

It is all in the markup. Data binding - declarative style. The resulting object, shown as JSON, can be sent off via an AJAX call. REST assured.

My humble opinion: AngularJS is the next really, really big thing to come out since jQuery. Not surprisingly the sample client for my GRESTlet project is also an Angular application.

This is just a little warm-up excercise in AngularJS. No JavaScript loaded besides the AngularJS core library. Well, except jQuery and the Bootstrap JS for the navigation bar, that is.





Red
Green
Blue
{{ formObj | json }}

Introducing: CornerCouch

AngularJS magic and JavaScript Ninja arts applied to Apache CouchDB

Find out more...