Testing and playing with AngularJS