Angular JS ng-src directive

Angular JS ng-src directive Angular JS ng-src directive: <img src= “{{country.flag}}”> Using a binding expression with the image “src” attribute results in a 404 error (File not found) Hard conding: (No errors) <div ng-controller=”myController”> <img src=”images/india.jpg”> </div> E.g.: Myapp.js: Var myApp=angular.module(‘myApp’,[]); Var myCtrl=myApp.controller(‘CountryCtrl’,function($scope) { Var country={ Name: ‘INDIA’, Capital:’Delhi’, Flag: ‘images/india.jpg’ }; $scope.country=Country; }); Country.html:…