This just does not jive with me. My template knows that submission should be handled by `addTodo()`? Or even worse, looping. I want all of my logic to live in code, not some abstract framework specific attributes that don't add much in the way of clarity (context switching between template and view just to follow the workflow, for example).
I use (and love) Backbone because the DOM is considered a pure presentation layer, nothing else. Any behavior, logic, whatever that the code controls is defined only in the code.
Most template engines support loops. Would be very weird without that capability, really.
Also, you have to add hooks to buttons and the like somehow. There isn't much of a difference between adding a class like "js-addWhatever" or using Angular's in-your-face approach.
You don't actually have to do it that way in angular if you don't want to. You can put it all in code instead. The framework specific attributes you're looking at aren't exactly framework specific, they're kinda application specific (just happens they ship with the framework).
You can write your own ones to move any of that stuff into code instead of markup. I personally think that loops should be in markup - I happen to prefer templating systems with less restrictions.
I love Angular, but if you are rendering server side HTML (either as partials, or bootstrapping a page) it is currently lacking.
Okay, in that case I can see a need here.
> It's agnostic to how requests are routed, which templating language you use or even if you render your HTML on the client or the server.
http://www.quora.com/Ember-js/Which-one-of-angular-js-and-em...
While it is possible that they are collaborating with the current-Twitter developers working on this thing, it doesn't seem like much of a sure thing.
Ryan is one of the core contributors to knockout, by the way, so you can be assured of its quality.
[1] http://www.knockmeout.net/2012/05/using-ko-native-pubsub.htm...
Really, I was using KO and it was really nice at the time but since I've tried angularJS I don't see a reason to go back to KO.
Two way binding without ko.observable/ko.observableArray/ko.computed, just plain js objects is really a big win.