Angular JS ng src directive
angular ngsrc vs src difference between img src and ngsrc in angularjs In this video we will discuss the use of ngsrc directive in AngularJS Let us understand this with an example : We want to display the name of the country, capital and it s flag. AngularJS Code : The controller builds the country model. The flag property of the country object has the path of the image. var myApp angular . module( myModule, ) . controller( myController, function (scope)
|
|