{{msg.payload}} in <iframe>

how do I pass the msg.payload into the <iframe&gt ?

<iframe height="800" align="center" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" ng-src="{{msg.payload}}"/></iframe>

Try this:

<div ng-if="msg.sprache=='deutsch'">
    <iframe height="800"  align="center" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" ng-src="SecondSource"></iframe>
    </div>
    <div ng-if="msg.sprache=='englisch'">
        <iframe height="800" align="center" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" src="FirstSource"></iframe>
    </div>
1 Like