Code for testing and sharing AngularJS code