input field, you could bind a validation handler to it like this:
var username = html.data('') .required('Username is required.') .maxLength(15, 'Max length for username is 15 characters.'); html('#username').input(username);
I don't think declarative templates are a bad thing, but the detail most people consistently get wrong with Knockout is incorrectly binding prototype methods or values. This API circumvents that by relying on simpler markup. The author has provided lots of examples so you can get a feel for how it works without downloading it.
Building an Angular List: Using ng-repeat
Building an Angular List: Using ng-repeat is a tutorial by David Posin about how to use
ng-repeat. It's a simple introductory tutorial, and David includes a screencast so you can see exactly how it works.
I noticed David uses the web-based Cloud9 IDE, so you can even follow along without installing anything if you're really new to Angular.