a sample to training AngularJS