{{msg.payload}} in <iframe>


#1

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>


#2

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>