I need to show few Iframes in my Angular App.
for that , my HTML is like
<iframe ng-src="{{iframeObj.iUrl}}" frameborder="0"></iframe>
But when the iUrl is not allowed in Iframes that is when X-Frame-Options:SAMEORIGIN or DENY
Then my IFrame does not come , and its natural that it will not come.
But I want to show an alternative text when Iframe does not load correctly. Like Image tag has and alt attribute.
I need some way to show alt Text when Iframe can not load.
AngularJS and plain JavaScript solution is mostly desired.
Thanks in advance.