The following example correctly executes the javascript code:
index.html
<body>
<img class="img-circle" data-src="holder.js/140x140" alt="140x140">
</body>
But this example does not execute the javascript:
index.html
<body>
<article data-ng-view></article>
</body>
myview.html
<img class="img-circle" data-src="holder.js/140x140" alt="140x140">
Problem:
I do not expect this to be a problem with holder.js. Instead, I find that I keep running into this problem again and again, whenever the file that is included in the view contains some form of javascript . In those cases the javascript doesn't get executed.
Why does this happen and how can I prevent it?