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

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -