Java EE Rest and AngularJS Sample