2 ms·
They really do entirely different things. Angular allows you to create custom HTML tags, and have smart bits of HTML that react to arbitrary changes in a nested
by jashkenas 14y ago
They really do entirely different things. Angular allows you to create custom HTML tags, and have smart bits of HTML that react to arbitrary changes in a nested JSON object.
Backbone gives you tools for modeling the client-side data of your JavaScript application, and having an interface that reacts dynamically to those changes. In Backbone, the emphasis is on the data and rich models; in Angular, the emphasis is on the HTML structure.
Fortunately, there are many good examples you can take a look at for both -- http://builtwith.angularjs.org http://builtwith.angularjs.org vs. http://backbonejs.org/#examples http://backbonejs.org/#examples. A longer answer to the question is available in the FAQ, here: http://backbonejs.org/#FAQ-why-backbone http://backbonejs.org/#FAQ-why-backbone