Hi there,
I am creating iframes via ngRepeat. Each iframe receives a name dynamically:
<div ng-repeat="widget in workspace.widgets">
<iframe name="{{widget.instance_identifier}}" ng-src="{{widget.instance.url}}" width={{widget.instance.width}} height={{widget.instance.height}}></iframe>
</div>
The problem is that the name is not resolved before the iframe is loaded.
In my iframe (another angular app) I do:
console.log($
window.name) but the result is always the literal {{widget.instance_identifier}}.
In the container of the iframe the name is correctly resolved, so I get:
<iframe name="505849e578e27" ng-src="
http://bla:8080/wookie/...
Is there a way to resolve the name before the iframe is loaded (something similar to ngSrc)
Thanks,
Roman