D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
ajspadial
Full window
Github gist
Naïve implementation of a client-side A/B tester using angularjs. It's just a minor modification to the seed angularjs project.
<!doctype html> <html lang="en" ng-app="myApp"> <head> <meta charset="utf-8"> <title>My AngularJS App</title> <link rel="stylesheet" href="css/app.css"/> <!-- This script returns client IP in an object named codehelper_ip --> <script language="Javascript" src="https://www.codehelper.io/api/ips/?js"></script> </head> <body> <ul class="menu"> <li><a href="#/view1">view1</a></li> <li><a href="#/view2">view2</a></li> </ul> <div ng-view></div> <div>Angular seed app: v<span app-version></span></div> <!-- In production use: <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> --> <script src="lib/angular/angular.js"></script> <script src="lib/angular/angular-route.js"></script> <script src="js/app.js"></script> <script src="js/services.js"></script> <script src="js/controllers.js"></script> <script src="js/filters.js"></script> <script src="js/directives.js"></script> </body> </html>
https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js