JEE 6 back-end with AngularJS front-end