Java EE Rest with AgularJS