A toy experiment with AngularJS