Hello, I saw how Igor Minar implemented a contenteditable widget
(https://github.com/angular/angular.js/issues/528)
That works perfect. But... how to save the changes? I Could implement
a save function in my controller that send the edited element to my
server.
But how? I edit my element, the widget code will be executed but
nothing more. So I think that the widget need to notify my controller
that some element have changed and save it. Am I correct?
I guess that the "instance" parameter is the element that is being
changed.
Another thing... The contenteditable widget is used in an element
inside a template, so I use it like...
ngx:contenteditable="item.element"
will the widget have information about the item itself or just the
element property?
I mean, if I could make the widget talk to the controller, I need to
give some information to the controller to specify what item I'm
editing. In other words, would be good if the controller can send the
entire item to the controller so I can get the ID and the edited
content from that item and send it to my server.