An experiment in angularjs