AngularJS | ng-srcset Directive
The ng-srcset Directive in AngularJS is used to specify the srcset attribute of an <img> element. It ensures that the wrong image is not produced until AngularJS has been evaluated. It is supported by <img> and <source> element.
<img ng-srcset="url"> </img>