Single page spring mvc, hibernate, Angular js application.