AngularJS And HTML5 ContentEditable
Getting Angular to Play Well With HTML5 ContentEditable HTML5 introduced a cool new attribute, which can be attached to any element to make it editable ( contenteditable="true" ). However, that's just the theory. To make that work, you have to use a data binding library (e.g. AngularJS, BackboneJS) or build your own using JavaScript. I recently created a todos application using pure JavaScript (with jQuery) with a Node/Mongo backend, i.e. without using any data binding framework. This is a good exercise to ensure that you understand JavaScript well enough before you start leaning on hefty frameworks that obscure a lot of what goes on behind the scenes. If you understand JavaScript, you'll be better able to troubleshoot and fix issues that come up when you're using frameworks. My pure JavaScript app is deployed on Heroku here . The code is on GitHub here . Once I was happy enough with the pure JavaScript application, my next goal was to redo it using Angul...