Example on how to create web-app using AngularJS with JavaEE7 backend (+ JPA2)