javascript - angularjs expression didn't execute properly -


my html

{{myid}}  <iframe width="100%" height="325" src="http://example.com/direct/?param={{myid}}" frameborder="0" allowfullscreen></iframe> 

the first {{myid}} worked second didn't. when check dom it's still {{myid}}, why?

please try ng-src instead src:

<iframe width="100%" height="325" ng-src="http://example.com/direct/?param={{myid}}" frameborder="0" allowfullscreen></iframe> 

Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -