Contact Us

  • Call : +91-87-2397-9480
  • Email :
  • Address : Tezpur - Assam

Close Member Area

Member Area

Search a domain

HTMLjs Building an Angular List
  • 9
  • HTMLjs Building an Angular List

HTMLjs Building an Angular List

HTMLjs (GitHub: nhanaswigs / htmljs, License: MIT) by Nhan Nguyen is a data-binding and template rendering library. It supports browsers back to IE7. Rather than using declarative HTML, it's more JavaScript-driven. For example, given a simple input field, you could bind a validation handler to it like this:
var username ='')
.required('Username is required.')
.maxLength(15, 'Max length for username is 15 characters.');
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 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.


Kaliabor SDO(C), Nagaon - Assam
B. K. Memorial Hospital, Tezpur - Assam
Infinite Education, Kota - Rajasthan
EMM Hospital & Research Centre, Tezpur - Assam
The Magnolia, Tezpur - Assam
DR. Bhatia Medical Institute, Rohini - Delhi