How about localization support?
The following code shows how to use localization attributes in order to change the default captions and texts.
<html> <head> <link rel="stylesheet" href="../bins/lib/bootstrap/css/bootstrap.min.css"/> <script type="text/javascript" src="../bins/lib/angular/angular.min.js"></script> <script type="text/javascript" src="../bins/wl-ng-network-speed-tester.js"></script> </head> <body> <div ng-app="wl-ng-network-speed-tester" wl-ng-network-speed-tester locale-seconds="sec" locale-you="Your speed" locale-ping="Ping time" locale-download="Download speed" locale-upload="Upload speed" locale-cost="Estimative internet cost" locale-currency="Euro"></div> <script type="text/javascript"> //must set the bins url angular.module('wl-ng-network-speed-tester').value('bins', '../bins'); </script> </body> </html>
After browsing to http;//the-server-root/javascript-network-speed-tester/sample/index.html, now we should get something like:
Please note how the corresponding text were changed. For more information regarding localization attributes, please check the Directive Attributes chapter, section Localization.
WiseLoop JavaScript Network Speed Tester is an AngularJS module designed to offer a network bandwidth check against your internet server. Many server types are supported such as Apache HTTP, IIS, Node.js, nginx, Tomcat, Oracle HTTP, jetty and based on the download speed, it can also offer an estimation of internet cost that the user should pay for.