AngularJS ng srcset Directive
AngularJS ng-srcset Directive
The ng-srcset directive is used to override the original srcset attribute of an element. If writing in AngularJS, then ng-srcset should be used instead of srcset attribute. It makes sure the image is not displayed wrong before AngularJS has evaluated the code.
< img ng-srcset="string" >< /img >
|string||A string value, or an expression resulting in a string.|