AngularJS client sample