How to bind a JQuery element to an AngularJS model?
I have an AngularJS model which should dynamically bind HTML elements. Now
whenever I try to set the value of the model to a JQuery object I get an
error message:
TypeError: Converting circular structure to JSON
at Object.stringify (native)
Here is a simplyfied jsfiddle example.
Is there a way to make the code work flawlessly? What exactly is circular?
No comments:
Post a Comment