Your code was strong. I created this simple example to show two-way binding http://jsfiddle.net/wU59L/4/
BTW using id attribute is not very good idea (as it is reserved attribute for HTML elements) use noteId uid or someting.