<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<body ng-app="">
<div ng-init="myVar = 'pic_angular.jpg'">
<h1>Angular</h1>
<img ng-src="{{myVar}}">
</div>
<p>This example could use the original src attribute, but with AngularJS code inside the value, it is better to use the ng-src attribute instead.</p>
</body>
<!-- Mirrored from www.w3schools.com/angular/tryit.asp?filename=try_ng_ng-src by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 15:39:33 GMT -->
</html>