When working with tabular content generated using ng-repeat
in AngularJS, it is important to find a way to display this content within an iframe. The goal is to allow users to drag and resize the content as needed.
However, using the iframe src
attribute won't work in this scenario since it requires a URL, and the content is being generated on the client side.
One potential solution could involve utilizing a variation of the srcdoc
attribute, although it typically expects a single quoted line of HTML code.
So the question remains: How can I properly construct the iframe to ensure that the content produced by ng-repeat
is successfully displayed within it?