I want to set part of an url of an html <object>
tag with an angular variable, but I get a lot of error messages in the console, because the presented string looks like
http://...../%7B%7Bvarname%7B%7B/....
I had the same problem with the <img>
tag, but there I could use the ng-src
directive. I guess I need to write my own directive, but what are the things I need to look out for?
<object type="application/x-shockwave-flash" height="378" width="620" id="live_embed_player_flash" data="http://...?chan={{varname}}" bgcolor="#000000">
...
<param name="flashvars" value="hostname=...&chan={{varname}}" />
</object>