Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A few things really:

1) a good friend recommended angular to me, in pre-1.0 days, the site was horrid, and I just couldn't grok angular. The framework, site and docs have improved drastically over the last year.

2) I was initially against angular's declarative markup style, thou shalt not mix html and code, etc. But after spending a bit of time getting unobtrusive bindings to work with KO [1], and then looking at the angular equivalent functionality [2], I was sold.

3) Having to massage "business-logic" code into ko.observable* (or DS.*) is quite arduous, angular does 2-way binding on plain old JS objects.

4) Angular templates are logic-less and it strongly encourages you to put your logic into your controllers, where it can be easily tested.

In the end KO is a template-binding library, whereas angular and ember are full stack.

[1] http://gratdevel.blogspot.com.au/2012/02/exploring-todomvc-a... [2] http://angularjs.org/#add-some-control



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: