Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy AngularJS Tutorials</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script> </head> <body ng-app=""> <h2>ng-srcset Directive in AngularJS Tutorials.</h2> <div ng-init="source = 'logo.png'"> <img ng-srcset="{{source}} 2x"> </div> </body> </html>
www.wikitechy.com © Copyright 2016. All Rights Reserved.